 King Béla IV of Hungary contested this, referring to the Gertrude's third marriage with his relative Roman Danylovich and occupied the Styrian lands.However, Ottokar prevailed as he defeated the Hungarian troops at the Battle of Kressenbrunn.Bohemian king since 1253, he now was sole ruler of the Bohemian, Moravian, Austrian and Styrian lands—an anticipation of the early modern Habsburg Monarchy after 1526.