 The throne had been seized from the previous king of this line - Hywel ab Edwin - by Gruffydd ap Llywelyn, who claimed the throne through his mother, Angharad.Angharad was the daughter of Maredudd ab Owain ap Hywel, while Hywel claimed the throne through the latter Maredudd's younger brother, Einion (Hywel's grandfather).Gruffydd had united almost all Wales under his rule, and was the only ruler to be King of Wales, but on Gruffydd's death in 1063 Maredudd reclaimed Deheubarth for his line.