 During the Seven Years' war, Prussian troops were stationed in the town resulting in yet more destruction and looting.In the Napoleonic wars, the ruling Bishop was forced to resign in 1802, and the town government was secularized.A new main Catholic church dated to 1812.