Frederick I, Margrave of Baden's claim was asserted to the Babenberg inheritance, but he was killed in 1268, leaving a sister (the future Countess of Heunburg) to continue the line. King Ottokar II of Bohemia (1233–78), since 1252 husband of the (childless) Margaret of Babenberg, dowager Queen of the Romans and the only surviving sister of Duke Frederick. By proximity of blood, she was the closest surviving relative of the last duke. Ottokar and Margaret were proclaimed Duke and Duchess of Austria. However, Margaret was barren and they got divorced in 1260, Ottokar marrying a younger woman. Margaret died in 1267 and left no children (so her heiress would be Gertrude again) - but Ottokar kept Austria, Styria etc. claiming to be the heir designated by Margaret in their divorce settlement. He held the duchies until deposed by king Rudolf I of Germany in 1276. 18th century succession crisis The Pragmatic Sanction of 1713 was partially based on provisions of the Privilegium Minus of Austria. Although not given to the Habsburgs but to the Babenbergs, it anyway allowed female heirs to succeed in Austria, and it designated to the Duke the right to name a successor in absence of heirs. It led to the War of Austrian Succession. References Further reading Blackwell, Basil, Source for the History of Medieval Europe (1966), pp. 160–164. English translation of text of document. https://avalon.law.yale.edu/medieval/austria.asp 12th century in Austria Medieval documents