 It was secularized in 1810.The town was spared from serious destruction during World War I and II.During World War II, the Germans established five working parties (E158, E164, E274, E504, E534) of the Stalag VIII-B/344 prisoner-of-war camp in the town.