Maximilian II was born in Vienna on 31 July 1527, the eldest son of Ferdinand I and Anna of Bohemia and Hungary. He grew up in Innsbruck, was taught by humanists and spoke six foreign languages. In 1548 he married his cousin Maria, the daughter of Charles V, and the couple had 15 children. As a young man he leaned towards Protestantism but pledged himself to the Catholic Church in early 1562 so that he could succeed his father. That year he was crowned King of Bohemia and elected King of the Romans, and in 1563 came the Hungarian coronation. On 25 July 1564 he became emperor after the death of Ferdinand I.
In religious policy he sought a compromise between Lutheranism and Catholicism and saw himself as the guardian of the Peace of Augsburg. Under the pressure of the Turkish wars and his need for money, he granted the estates of the Austrian hereditary lands a religious concession in 1568, which was set down in the Religionsassekuration of 1571. It applied only to the Augsburg Confession and only to the nobility and knighthood, while the towns were excluded. The war against the Ottomans ended with the Peace of Adrianople, which confirmed existing possessions and obliged the emperor to pay an annual tribute of 30,000 ducats.
He left lasting traces in and around Vienna. In 1552, still an archduke, he set up a menagerie in Schloss Kaiserebersdorf, which included the elephant Soliman he had brought from Spain. Between 1558 and 1565 he had the Stallburg built as a residence, later home to the Spanish Riding School. In 1569 building began on Schloss Neugebäude in Simmering, his favourite project. In the same year he also acquired the Katterburg estate, from which Schönbrunn later grew. His collection of books became a foundation of the National Library. Maximilian died in Regensburg on 12 October 1576 and was buried in St Vitus Cathedral at Prague Castle.
