From the foundation of the
Bavarian
dukedom the city belonged to Bavaria until 1780. Together with the Innviertel (former known as "Innbaiern") it was ceded to
Austria after the
Treaty of Teschen. During the
French Revolutionary Wars it became Bavarian again, in 1814 it became part of Upper Austria to whom it has belonged up to the present day. After the
Anschluß to the
German Reich on 13 March 1938 the city was part of the "Gau Oberdonau". After 1945 the restitution of Upper Austria took place. ==Politics==