Service under Llywelyn ab Iorwerth Ednyfed Fychan is first recorded in Llywelyn ab Iorwerth's service acting as a seneschal or in summer 1217, when he was recorded as heading a witness list in a grant by Llywelyn of
Llandimôr in
Gower to
Morgan Gam of
Afan. Ednyfed was preceded in this role by
Gwyn ab Ednywain, who was probably first to
Gruffudd ap Cynan, ruler of
Meirionnydd and Gwynedd
Uwch Conwy before being overthrown by Llywelyn in 1199. Gwyn's last recorded action in the role was his heading a list of witnesses confirming a donation of land by Llywelyn to the
Cistercian abbey of
Strata Marcella on 25 November 1209. According to David Stephenson, Ednyfed was "almost certainly" Gwyn's immediate successor, though it is impossible to date the beginning of Ednyfed's tenure in the office. In March 1218, Llywelyn ab Iorwerth signed three agreements with
Henry III of England, known collectively as the
Treaty of Worcester. These confirmed Llywelyn's occupation of
Powys and the royal castles of
Cardigan and
Carmarthen which he had won in the campaigns of 1215–16. However, these agreements also asserted the king's overlordship over Llywelyn and other Welsh lords, who were required to do homage to him. In the third of these agreements, confirming Llywelyn's right to hold the king's court in the royal castles, Ednyfed appears as a negotiator and leads the list of the prince's officials and leading men of the principality who are bound to the terms of the treaty. According to the treaty, Llywelyn's officials and supporters would "be absolved from homage and fealty to [Llywelyn]" should the prince betray the terms of the agreement, and could "[not]... return to Llywelyn's homage and fealty without first making satisfaction to the king or his heirs concerning the aforesaid breaches". Similarly, Ednyfed appears to have been a chief negotiator in the 1222 talks which led to the marriage of Llywelyn's daughter
Helen to
John of Scotland, heir apparent to the
earldom of Chester. The pair were married "for the purpose of effecting a lasting peace" between Llywelyn and Ranulf de Blondeville, John's uncle, against whom Ednyfed had fought some twelve years earlier yet became the prince's closest ally in England. Perhaps in recognition of his services in upholding the treaty of Worcester, Henry III granted Ednyfed letters of protection in 1229 for some of his holdings:
Llansadwrn in
Ystrad Tywi, and Cellan and
Llanrhystud in
Ceredigion. In 1223, in accordance with the terms of the Treaty of Worcester, Ednyfed acted with the king's authority and as Llywelyn's chief representative, determining the limits of lands won by
Maelgwn ap Rhys,
Rhys Gryg, and Owain ap
Gruffudd of Deheubarth in the campaign of 1215–16. The findings of an inquisition held on 28 October 1278 recorded Ednyfed, "justice of the prince", had arbitrated a land dispute between two lords of
Mechain some decades before, which suggests he also held legal authority in Llywelyn's principality. This is further supported by an occasion in 1234 when Ednyfed arbitrated a dispute in the lordship of
Madog ap Gruffudd Maelor between the monks of
Valle Crucis and the freemen of
Llangollen over a dispute about the ownership of a fishing weir on the
Dee. Over Easter 1230, Llywelyn found his wife
Joan, legitimised daughter of King John, in compromising circumstances with the
marcher lord of
Brecon,
William de Braose, whom Llywelyn consequently had hanged on 2 May that year. Joan was kept imprisoned by Llywelyn for her infidelity until 1231. The execution of de Braose did not cause an incident with the English, but hostilities between prince and king broke out in April 1231, when Llywelyn attacked de Braose's former castle at
Radnor, which was then being managed by the powerful
justiciar Hubert de Burgh. The royal counter-campaign of 1231 headed by de Burgh stalled, and de Burgh was removed from his position in 1232. Ednyfed Fychan led a diplomatic mission to Henry III which resulted in a truce between Llywelyn and the king for a year from 30 November 1231. Ednyfed made two further visits in May and November 1232 together with Llywelyn's wife Joan to further negotiate with the king's representatives. However, in 1233, Llywelyn threw in his lot with
Richard Marshal's baronial rebellion against Henry III. While Llywelyn was making gains in this short conflict, he sent Ednyfed and
Dafydd ap Llywelyn, his son by Joan, to negotiate terms with the king at Worcester in June 1233. When Richard was murdered by his allies in Ireland in early 1234, Llywelyn sealed a lasting peace with the English Crown in June that year with the Pact of
Myddle. No castles could be built or repaired in the whole of the
March, and Llywelyn was confirmed in his possession of
Buellt and Cardigan. Henry requested Ednyfed be present when extending the truce in 1237, and he appears at the list of the prince's ministers who swore to uphold the truce upon its renewal in 1238. According to
Matthew Paris, Llywelyn suffered a massive paralytic stroke in late spring 1237. This led Dafydd to assume effective rulership of Gwynedd. Because there was peace between Llywelyn and the king after 1234, Ednyfed decided to go on pilgrimage to the
Holy Land, and received safe conduct through England from the king in June 1235. Whilst waiting to depart from
London that same month, the king ordered Ednyfed be given a silver cup worth five
marks. However, this grant was not fulfilled because the King's treasurer did not have the cup.
Service under Dafydd ap Llywelyn Llywelyn ab Iorwerth died on 11 April 1240, and was succeeded as king of Gwynedd by his son Dafydd. However, Dafydd had an elder brother named Gruffudd, the son of Llywarch by his mistress Tangwystl, daughter of Llywarch Goch. Llywelyn had intended that his younger son Dafydd would succeed him because Dafydd was both the product of a marriage sanctified by the Church and of
Angevin ancestry by virtue of his being a grandson of King John. While illegitimate in the eyes of the Church, Gruffudd could claim support from much of the nobility of Gwynedd because his birth by a pre-marital liaison was no obstacle to his accession to the kingship of Gwynedd under
Welsh law. Despite being granted some territory in Gwynedd during Llywelyn's reign, Gruffudd plotted against his father and brother in response to his being passed over in the succession, and was gaoled by Llywelyn from 1228 to 1234 and by Dafydd shortly before their father's death. Within a month of Llywelyn's death, Dafydd was humiliated by Henry III by the terms of the Treaty of
Gloucester, signed on 15 May 1240, which saw Gruffudd released and Dafydd stripped of the homage done to his father by the barons of Wales. Even though Ednyfed Fychan was Gruffudd's stepfather, Ednyfed supported Dafydd, and even represented Dafydd in a plea between the prince and Gruffudd. In August 1241, after a week-long campaign launched from
Chester, Henry III humiliated Dafydd further, forcing him to sign the
Treaty of Gwerneigron on 29 August 1241, and even more humiliating terms in London on 24 October that year. Dafydd was stripped of all the lands his father had won since 1215, Gruffudd and his son
Owain Goch were taken into the
Tower of London by the king, pending a partition of the remaining lands of Gwynedd between them. Ednyfed, together with his son Hywel,
bishop of St Asaph, swore to ensure Dafydd would follow the terms of this treaty as well. Gruffudd died in a botched attempt to escape from the
Tower of London on
St David's Day in 1244. Consequently, a revolt erupted throughout Wales against royal rule, and Dafydd acted as its leader. While enjoying some initial successes, Dafydd's alliance was defeated in late 1245. In his last recorded action on behalf of the princes of Gwynedd, Ednyfed led a group of envoys parlaying with Henry III at his court at Degannwy sometime in 1245. Dafydd died on 25 February 1246, and an English annalist writing in Chester records Ednyfed's death in the same year: he was memorialised as , further suggesting he held legal authority in Gwynedd, though according to David Stephenson it is "highly unlikely" that the use of the title by an English chronicle"reflects Venedotian usage the middle of the thirteenth century. ==Elegy==