As a result, Ottokar II of Bohemia effectively assumed control of the duchies of Austria, Styria, and Carinthia. His reign came to an end with his defeat at Dürnkrut at the hands of Rudolph I of Germany in 1278. Thereafter, until World War I, Austria's history was largely that of its ruling dynasty, the Habsburgs.