Ferdinand I. (1503 to 1564) was born in Alcalá de Henares near Madrid, a grandson of Emperor Maximilian I. In the partition of 1521 he received the Habsburg hereditary lands from his brother Charles V, and in the same year he married Anne of Bohemia and Hungary in Linz. Through her inheritance he also gained the crowns of Bohemia, Croatia and Hungary in 1526/27, though he was able to hold only a small part of Hungary against the Ottomans. In 1531 he was elected King of the Romans, in 1556 he succeeded Charles V, and in 1558 he was confirmed as emperor.
From the 1530s Ferdinand stayed in Vienna more and more often, and the city became his preferred residence alongside Innsbruck. He had the Hofburg rebuilt and extended and made Vienna the seat of the court treasury, the court chancellery and the court council for the Habsburg lands. From 1527 there were four central authorities, the Privy Council, the Court Council, the Court Treasury and the Court Chancellery, and in 1556 the Court War Council was added; this order carried the administration into the 18th century. He also turned to the University of Vienna and issued reform laws in 1533 and 1537. In 1529 he faced the First Siege of Vienna as sovereign: Sultan Suleiman advanced as far as Vienna, about 18,000 men defended the city, and the Ottomans withdrew on 14 October. Afterwards Vienna was heavily fortified.
A lasting legacy lies on the edge of the city: around 1560 Ferdinand acquired the Auhof with the surrounding woods, had a wooden fence put up around the area in 1561 and made it an imperial hunting ground, which it remained until 1918. It became the Lainzer Tiergarten. A zealous Catholic, he nevertheless thought Protestantism could not be suppressed and for political reasons argued for a de facto toleration. In the Vienna Testament of 25 February 1554 he divided the hereditary lands among his three sons. He died in Vienna on 25 July 1564 and was buried in St Vitus Cathedral at Prague Castle beside his wife Anna.
