Passage: The first record showing the name Austria is from 996, where it is written as Ostarrîchi, referring to the territory of the Babenberg March. In 1156, the Privilegium Minus elevated Austria to the status of a duchy. In 1192, the Babenbergs also acquired the Duchy of Styria. With the death of Frederick II in 1246, the line of the Babenbergs was extinguished.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.

Question: What put an end to the Ottokar's II regime?
Rudolph I