Complex sentence: In 1802 it lost its independence and passed to Prussia, in 1807 it was attached to the kingdom of Westphalia, but in 1815 it again became part of the Prussian Province of Saxony.
Split into simpler sentences: In 1802 it lost its independence and passed to Prussia. In 1807 it was attached to the kingdom of Westphalia, but in 1815 it again became part of the Prussian Province of Saxony.