Complex sentence: In 1803 he was created Elector of Hesse but in 1806 his electorate was annexed by the Kingdom of Westphalia, ruled by Jérôme Bonaparte.
Split into simpler sentences: In 1803 he was created Elector of Hesse. In 1806 his electorate was annexed by the Kingdom of Westphalia, ruled by Jérôme Bonaparte.