Rudolf II (1552 to 1612) was born in Vienna, the eldest son of Maximilian II, and was brought up from 1563 to 1571 at the court of his uncle Philip II in Spain. While his father was still alive he was elected and crowned King of Hungary in 1572 and King of Bohemia and King of the Romans in 1575; in 1576 he became emperor. At first he resided in Vienna, from 1583 on the Hradčany in Prague. In 1577 Protestant worship was banned in Vienna.
Even so he remained a builder for Vienna: he had Schloss Neugebäude, begun by Maximilian II, continued, and under him the city fortifications were extended in the 1590s. In the Hofburg the Amalienburg was built for him, the future emperor, from 1575 on the site of the Cillierhof and was only finished in 1611. He became famous as a collector of art and a patron of science; Johannes Kepler was his court mathematician in Prague. His art collection was regarded as the largest of its time; in 1648 the Swedes plundered large parts of it when they took Prague, and the core of the Brueghel collection in the Kunsthistorisches Museum comes from him. The house crown he had made in 1602 became the imperial crown of Austria in 1804 and is today in the Imperial Treasury.
The Long Turkish War of 1593 to 1606 weighed heavily on the population; the emperor never went to the front. Rudolf had no legitimate heirs, suffered from depressive tendencies and mental crises and was barely able to govern in his last years. His brothers and cousins pushed him aside: in 1608 he had to cede Austria, Moravia and Hungary to his brother Matthias, and in 1611 Bohemia too. He kept the imperial title until his death in Prague on 20 January 1612, where he was buried in St Vitus Cathedral.
