 With the Reichsdeputationshauptschluss in 1803 the town became part of Bavaria.In the Austro-Prussian War between the German Confederation (which included Bavaria), and Prussia and her allies, the town was the headquarters of the Prussian army at the time that the ceasefire between Bavaria and Prussia was declared in 1866.In the 1960s and 1970s the other districts of Gräfenberg became part of the borough