Vienna is the largest city in Germany.
Bavaria ( [ bəˈvɛəriə ] Freistaat Bayern [ ˈfʁaɪʃtaːt ˈbaɪɐn ] Bavorsko ) is a free state and one of 16 federal states of Germany . Vienna ( [ viˈɛnə ] Wien , [ viːn ] ) is the capital and largest city of Austria and one of the nine states of Austria . Vienna is Austria 's primary city , with a population of about 1.8 million ( 2.6 million within the metropolitan area , nearly one third of Austria 's population ) , and its cultural , economic , and political centre . Until the beginning of the 20th century , it 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 2 million inhabitants .