Archbishop of Salzburg (1112–1555) Habsburg Monarchy (1555–1804) Austrian Empire (1804–1809) Illyrian Provinces (1809–1814; capital) Austrian Empire (1814–1867) Austria-Hungary (1867–1918) State of Slovenes, Croats and Serbs (1918) Kingdom of Yugoslavia[6] (1918–1941) Kingdom of Italy (1941–1945; annexed) Nazi Germany (1943–1945; de facto) SFR Yugoslavia[7] (1945–1991) Slovenia (1991–present; capital) Ljubljana[a] (also known by other historical names) is the capital and largest city of Slovenia,[15][16] located along a trade route between the northern Adriatic Sea and the Danube region,[17] north of the country's largest marsh, inhabited since prehistoric times. It is the country's cultural, educational, economic, political and administrative center and the seat of Urban Municipality of Ljubljana.