Complex sentence: Due at least in part to the crowded conditions there, in 1889 he suffered his first bout of deep depression and continued to have attacks of "melancholia, weeping and headaches" for the rest of his life.
Split into simpler sentences: Due at least in part to the crowded conditions there, in 1889 he suffered his first bout of deep depression. He continued to have attacks of "melancholia, weeping and headaches" for the rest of his life.