War of the Fourth Coalition
Lübeck remained a Free Imperial City even after the German Mediatisation in 1803 and became a sovereign state at the dissolution of the Holy Roman Empire in 1806. During the War of the Fourth Coalition against Napoleon, troops under Bernadotte occupied neutral Lübeck after a battle against Blücher on 6 November 1806.