In the early 19th century Napoleon Bonaparte promoted the Duchy of Salzburg, than later was a part of the Kingdom of Bavaria. Then, Salzburg was annexed by Austria, returned to Bavarian and divided between Bavaria and Austria. 1918 Salzburg became a federal state of the new Republic of Austria. 