In 1171 Rhys made peace with King Henry and was confirmed in possession of his recent conquests as well as being named Justiciar of South Wales.
Following Henry's death Rhys revolted against Richard I and attacked the Norman lordships surrounding his territory, capturing a number of castles.
[9] The death of King Henry I of England, and the ensuing Anarchy arising from the rival claims of Stephen and Matilda to the English throne, gave the Welsh the opportunity to rise against the Normans.
A revolt spread through south Wales in 1136, and Gruffydd ap Rhys, aided by his two eldest sons, Anarawd and Cadell, defeated the Normans in a battle near Loughor, killing over five hundred.
After driving Walter de Clifford out of Cantref Bychan, Gruffydd set off to Gwynedd to enlist the help of his father-in-law, Gruffudd ap Cynan.
[10] In the absence of her husband, Gwenllian led an army against the Norman lordship of Cydweli (Kidwelly), taking along her two oldest sons, Morgan and Maelgwn.
Gilbert de Clare, Earl of Pembroke, rebuilt Carmarthen Castle in 1145, then began a campaign to reclaim Ceredigion.
Rhys appears in the annals for the first time in 1146, fighting alongside his brothers Cadell and Maredudd in the capture by assault of Llansteffan Castle.
The same year Rhys is recorded as an independent commander for the first time, leading an army to capture the Norman castle of St Clears.
[18] King Stephen had died in October 1154, bringing to an end the long dispute with the Empress Matilda which had helped Anarawd, Cadell and Maredudd to extend their rule in Deheubarth.
An appeal to the king produced no response, and Rhys resorted to arms, first capturing Clifford's castle at Llandovery then seizing Ceredigion.
[21] The king was absent in France in 1159, and Rhys took the opportunity to attack Dyfed and then to lay siege to Carmarthen, which was saved by a relief force led by Earl Reginald of Cornwall.
[25] Rhys had other reasons for rebellion, for he had returned to Deheubarth from England to find that the neighbouring Norman lords were threatening Cantref Mawr.
His nephew, Einion ab Anarawd, who was the captain of his bodyguard, had been murdered at the instigation of Roger de Clare, Earl of Hertford.
In 1167 the King of Leinster, Diarmait Mac Murchada, who had been driven out of his kingdom, had asked Rhys to release Robert Fitz-Stephen from captivity to take part in an expedition to Ireland.
Rhys did not oblige at the time, but released him the following year and in 1169 Fitz-Stephen led the vanguard of a Norman army which landed in Wexford.
[31] The departure of the Norman lords enabled Rhys to strengthen his position, and the death of Owain Gwynedd in late 1170 left him as the acknowledged leader of the Welsh princes.
Henry wished to ensure that Richard de Clare, who had married Diarmait's daughter and become heir to Leinster, did not establish an independent Norman kingdom in Ireland.
Rhys was to pay a tribute of 300 horses and 4,000 head of cattle, but was confirmed in possession of all the lands he had taken from Norman lords, including the Clares.
King Henry held a council at Gloucester in 1175 which was attended by a large gathering of Welsh princes, led by Rhys.
[40] In 1177 Rhys, Dafydd ab Owain, who had emerged as the main power in Gwynedd, and Cadwallon ap Madog from Rhwng Gwy a Hafren swore fealty and liege homage to Henry at a council held at Oxford.
Davies suggests that the texts of Welsh law, traditionally codified by Hywel Dda at Whitland, were first assembled in book form under the aegis of Rhys.
Giraldus says that Rhys decided to go on crusade himself and spent several weeks making preparations, but was eventually persuaded to change his mind by his wife Gwenllian, "by female artifices".
Gruffydd is also said to have persuaded his father to annex the lordship of Cemais and its chief castle of Nevern, held by William FitzMartin, in 1191.
The chronicler of Brut y Tywysogion records for 1197:[58] ... there was a great pestilence throughout the island of Britain... and that tempest killed innumerable people and many of the nobility and many princes, and spared none.
Maelgwn, the eldest son but illegitimate, refused to accept this and was given military assistance by Gwenwynwyn ab Owain of Powys.
[61] Giraldus Cambrensis frequently mentions Rhys in his writings and describes him as "a man of excellent wit and quick in repartee".
[65] Map was less favourably disposed toward Rhys, describing him as "This king I have seen and know, and hate", but goes on to say "I would not have my hatred blacken his worth; it is not my wish ever to suppress any man's excellence through envy".
[66] He tells the following story about Apollonides/Rhys:[66] This same man gave provisions to his enemies when besieged and driven by risk of famine to capitulate; he wished them to be overcome by his own strength and not by want of bread; and though he deferred victory, he increased the renown of it.
Its very length was a tribute to his stamina and skill: he had occupied the stage of Welsh politics for over fifty years, from his first appearance in his early 'teens, at the capture of Llansteffan castle in 1146, to his death in 1197.