Why it's the capital
In the 16th century the Habsburgs made Vienna the seat of the emperors of the Holy Roman Empire. When the Austrian Empire was formed in 1804, Vienna became its capital, and it has stayed the capital of every Austrian state that followed.