Vienna (/viˈɛnə/ ⓘ vee-EN-ə;[9][10] German: Wien [viːn] ⓘ; Austro-Bavarian: Wean [veɐ̯n]) is the capital, largest city, and one of nine federal states of Austria. Vienna is Austria's most populous city and its primate city, with about two million inhabitants[3][11] (2.9 million within the metropolitan area,[12] nearly one-third of the country's population), and its cultural, economic, and political center. It is the fifth-largest city proper by population in the European Union and the largest of all cities on the Danube river by population.
The city lies on the eastern edge of the Vienna Woods (Wienerwald)—the northeasternmost foothills of the Alps, that separate Vienna from the more western parts of Austria—at the transition to the Pannonian Basin. It sits on the Danube, and is also traversed by the highly regulated Wienfluss (Vienna River). Vienna is completely surrounded by Lower Austria, and lies around 50 km (31 mi) west of Slovakia and its capital Bratislava, 60 km (37 mi) northwest of Hungary, and 60 km (37 mi) south of Moravia (Czech Republic).
The once Celtic settlement of Vedunia was converted by the Romans into the castrum and canaba Vindobona (province of Pannonia) in the 1st century, and was elevated to a municipium with Roman city rights in 212. This was followed by a time in the sphere of influece of the Lombards and later the Pannonian Avars, when Slavs formed the majority of the region's population.[a] From the 8th century on, the region was settled by the Baiuvarii. In 976, the Babenbergs established the Margraviate of Austria. In 1221, Vienna was granted city rights by Leopold VI. The reign of the Habsburgs started in 1278. In 1558, Vienna became the capital of the Holy Roman Empire, which it remained until 1806.[b] It was the capital of the Austrian Empire from 1804 to 1867, and of the Cisleithanian part of Austria-Hungary from 1867 to 1918, and subsequently became the capital of Austria.
Until the beginning of the 20th century, Vienna was the largest German-speaking city in the world, and before the splitting of the Austro-Hungarian Empire in World War I, the city had two million inhabitants.[13] Today, it is the second-largest German-speaking city after Berlin.[14][15] Vienna is host to many major international organizations, including the United Nations, OPEC and the OSCE. In 2001, the city center was designated a UNESCO World Heritage Site. In July 2017 it was moved to the list of World Heritage in Danger.[16]
Vienna has been called the "City of Music"[17] due to its musical legacy, as many famous classical musicians such as Beethoven, Brahms, Haydn, Mahler, Mozart, Schoenberg, Schubert, Johann Strauss I and Johann Strauss II lived and worked there.[18] It played a pivotal role as a leading European music center, from the age of Viennese Classicism through the early part of the 20th century. Vienna was home to the world's first psychoanalyst, Sigmund Freud.[19] The historic center of Vienna is rich in architectural ensembles, including Baroque palaces and gardens, and the late-19th-century Ringstraße lined with grand buildings, monuments and parks.[20]