sentences:  It passed quickly through the hands of Hungary in 1254, until the Bohemian king Ottokar II Přemysl conquered it, being victorious at the 1260 Battle of Kressenbrunn.As King Ottokar II had married the last duke's sister Margaret of Babenberg he laid claim to both Austria and Styria, which however met with strong opposition by the elected German king Rudolph of Habsburg, who now recalled the duchies as reverted fiefs.Rudolph finally defeated Ottokar at the 1278 Battle on the Marchfeld, seized Austria and Styria and granted them to his sons Albert I and Rudolf II.