Přemysl Ottokar II was born around 1230 to 1233; his exact year of birth is uncertain, and tradition names Městec Králové in Bohemia as his birthplace. His parents were King Wenceslas I of Bohemia and Kunigunde of Swabia; he was their second son. After his elder brother Vladislav died, his father made him Margrave of Moravia in 1247. In 1251 the Austrian estates accepted him as duke, and from 1253 he wore the Bohemian crown. Styria, Carinthia and Carniola were added later. He founded many towns, in Austria among them Marchegg, Leoben and Bruck an der Mur.
In Vienna he had work continued on the west front of St Stephen's and on the Hofburg. After the city fire of 1275 he laid the cornerstone of the new church of the Minorite friary, the Minoritenkirche, one of the early Gothic churches in eastern Austria. Because he refused to recognise Rudolf of Habsburg, elected king in 1273, he was placed under the imperial ban in 1275; in the Peace of Vienna of 1276 he had to give up Austria, Styria, Carinthia, Carniola and Eger.
When he tried to win his lands back by force, he was defeated by Rudolf on 26 August 1278 at the Battle of Dürnkrut on the Marchfeld and lost his life there. His body lay in state for 30 weeks in the Minoritenkirche, was buried in Znaim in 1279 and moved to St Vitus Cathedral in Prague in 1297. Austria then passed to the Habsburgs. In 1825 Franz Grillparzer turned his fate into the drama "König Ottokars Glück und Ende" (King Ottokar's Rise and Fall).
