Trahaearn ap Caradog
Trahaearn ap Caradog was a King of Gwynedd. Trahaearn was a son of Caradog ap Gwyn, ruler of Arwystli, a small state, on the south-western border between Gwynedd and Powys. He was born in 1044 in Arwystli, and died in 1081 in Mynydd Carn in Pembrokeshire, at the Battle of Mynydd Carn.
Accession to the throne of Gwynedd
On the death of Bleddyn ap Cynfyn in 1075, it appears that none of his sons were old enough to claim the throne, and Bleddyn's cousin Trahaearn ap Caradog, seized power.The same year Gruffudd ap Cynan landed on Anglesey with an Irish force and, with the assistance of the Norman Robert of Rhuddlan, defeated Trahaearn at the Battle of Gwaed Erw in Meirionnydd, gaining control of Gwynedd. However tension between Gruffudd ap Cynan's Irish bodyguard and the local Welsh people led to a rebellion in Llŷn and Trahaearn took the opportunity to counterattack, defeating Gruffudd at the Battle of Bron yr Erw at Clynnog Fawr, also in 1075, forcing him to flee back to Ireland.
In 1078 Caradog ap Gruffudd killed Rhys ab Owain of Deheubarth, who had been responsible for the killing of Bleddyn ap Cynfyn, in the Battle of Gwdig or Battle of Goodwick. Caradog ap Gruffudd wanted to take control of Deheubarth like his father and grandfather had done. However Rhys ap Tewdwr, Rhys ab Owain's second cousin, meanwhile had become king of Deheubarth. Rhys ap Tewdwr was forced to flee when Caradog ap Gruffudd invaded Deheubarth in 1081. He sought protection in St Davids at the far southwestern corner of his kingdom.