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.