What happened to Nietzsche in the last years of his life?

He was in a psychiatric hospital

**********