she was married in vienna on 20 december 1274 to count albert of habsburg, eldest son and heir of the newly elected king rudolf i of germany, thus becoming daughter-in-law of the king of the romans and emperor-to-be. after rudolf had defeated his rival king ottokar ii of bohemia in the 1278 battle on the marchfeld, he invested his son albert with the duchies of austria and styria at the imperial diet in augsburg on 17 december 1282.