Rudolf II, (born July 18, 1552, Vienna, Habsburg domain [now in Austria]—died January 20, 1612, Prague, Bohemia [now in Czech Republic]), Holy Roman emperor from 1576 to 1612. His ill health and unpopularity prevented him from restraining the religious dissensions that eventually led to the Thirty Years' War (1618–48).