In 976, Leopold I of Babenberg became count of the Eastern March, a 60-mile district centering on the Danube on the eastern frontier of Bavaria.
In 1804, during the Napoleonic Wars, Vienna became the capital of the Austrian Empire and continued to play a major role in European and world politics, including hosting the Congress of Vienna in 1814/15.