linguistic:paraphrasing, quality:correction, linguistic:voice_change
Vienna (/ v i ˈ ɛ n ə / vee- EN -ə; German: Wien; Austro-Bavarian: Wean) is the capital, most populous city, and one of nine federal states of Austria. It is Austria's primate city, with just over two million inhabitants. Its larger metropolitan area has a population of nearly 2.9 million, representing nearly one-third of the country's population. Vienna is the cultural, economic, and political center of the country, the fifth-largest city by population in the European Union, and the most-populous of the cities on the Danube river.

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 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 influence of the Lombards and later the Pannonian Avars, when Slavs formed the majority of the region's population. From the 8th century on, the region was settled by the Baiuvarii. In 1155, Vienna was established as the seat of the Babenbergs, the lords of Austria from 976 to 1278, and, in 1221, Vienna was granted city rights. In the 16th century, the subsequent lords of Austria, the Habsburgs, established Vienna as the seat of the emperors of the Holy Roman Empire, with a short exception, until its dissolution in 1806. With the formation of the Austrian Empire in 1804, Vienna became the capital of it and all its successor states.

Throughout the modern era Vienna has been among the largest German -speaking cities in the world, being the largest in the 18th and 19th century, peaking at two million inhabitants before it was overtaken by Berlin at the beginning of the 20th century. 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.

Vienna has been called the "City of Music" due to its musical legacy, as many famous classical musicians such as Beethoven, Brahms, Bruckner, Haydn, Mahler, Mozart, Schoenberg, Schubert, Johann Strauss I and Johann Strauss II lived and worked there. 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. The historic center of Vienna is rich in architectural ensembles, including Baroque palaces and gardens, and the late-19th-century Ringstraße, which is lined with grand buildings, monuments, and parks.