Complex sentence: The city became part of the First French Empire in 1806 as Principality of Erfurt, and was returned to Prussia in 1815 after the Napoleonic Wars.
Split into simpler sentences: The city became part of the First French Empire in 1806 as Principality of Erfurt. Erfurt was returned to Prussia in 1815 after the end of the Napoleonic Wars.