Kingdom of Westphalia
During the Napoleonic Wars, Prussian troops occupied Nordhausen on 2 August 1802; the city lost its status as an Imperial Free City during the German Mediatisation. After Prussia's defeat against Napoleon, it became part of the Kingdom of Westphalia created in 1807.