Complex sentence: He was from 1812 to 1816 Kapellmeister to the king of Württemberg, and in 1840 became conductor of the opera at Cologne.
Split into simpler sentences: He was from 1812 to 1816 Kapellmeister to the king of Württemberg. In 1840 he became conductor of the opera at Cologne.