Complex sentence: For several months, starting in March 1832, he stayed in Dresden, where he wrote the third part of his poem "Dziady".
Split into simpler sentences: For several months starting in March 1832 he stayed in Dresden. While in Dresden he wrote the third part of his poem "Dziady".