{{Short description|Early medieval Welsh kingdom}} {{For|the preserved county of Wales (1974–1996)|Dyfed}} {{Use British English|date=July 2024}} {{Use dmy dates|date=July 2024}} {{Infobox country | native_name = {{native name|cy|Teyrnas Dyfed}} | conventional_long_name = Kingdom of Dyfed | common_name = Dyfed | era = Middle Ages | government_type = Monarchy | event_start = | year_start = {{circa|410}} | event_end = | year_end = 920 | date_end = | life_span = | p1 = Sub-Roman Britain | flag_p1 = Vexilloid of the Roman Empire.svg | border_p1 = no | s1 = Deheubarth | flag_s1 = Flag of Deheubarth.svg | image_flag = | flag_type = | image_map = LDDyfedCantrefi.png | image_map_caption = Map showing Dyfed, after the late 7th century, showing its seven cantrefi. | capital = | common_languages = Welsh, Latin, Irish{{sfn|Charles-Edwards|2013|p= 112-4}} | footnotes = {{Note|1}} }} thumb|250px|right|Post-Roman Welsh petty kingdoms. Dyfed is the promontory on the southwestern coast. The modern Anglo-Welsh border is also shown.

The '''Kingdom of Dyfed''' ({{IPA|cy|'dəvɛd}}), one of several Welsh petty kingdoms that emerged in 5th-century sub-Roman Britain in southwest Wales, was based on the former territory of the Demetae (modern Welsh ''Dyfed''). The royal line was founded by Irish settlers in the 5th century. After the Norman invasion of Wales Dyfed was incorporated into Pembrokeshire. The name was resurrected for the now-defunct administrative area called Dyfed as well as in the names of some regional organisations such as Dyfed–Powys Police.

Dyfed may have originally occupied the area that bordered the rivers Teifi, Gwili and Tywi, and included contemporary Pembrokeshire, the western part of contemporary Carmarthenshire, and with the town of Carmarthen. Dyfed eventually comprised at least seven cantrefi: Cemais, Deugleddyf, Emlyn, Cantref Gwarthaf, Pebidiog, Penfro and Rhos, with an approximate area of about {{convert|2284|km2}}.

During times of strength, the kingdom expanded to additionally cover the Ystrad Tywi ("Valley of the Tywi"), including Cydweli (Kidwelly) and Gwyr (Gower; possibly under the reign of Aergol Lawhir), and even bordered Brycheiniog. Dyfed lost the Ystrad Tywi region to Ceredigion, another petty kingdom, in the late 7th century.

==History== ===Post-Roman foundation and Irish influence=== While there is little written history in the period following the Roman withdrawal from Britain, lists of the Kings of Dyfed do feature in Medieval sources such as the Harleian genealogies and later genealogies from Jesus College MS 20. These lists start with the semi-legendry figure of Triffyn Farfog and his son and heir, Aergol Lawhir<ref>[http://www.kmatthews.org.uk/history/harleian_genealogies/2.html Harleian genealogy 2].</ref> Triffyn's name may derive from the Latin title ''tribunus'',<ref name="WadeEvansWCO">{{cite book |last1=Wade-Evans |first1=Arthur |title=Welsh Christian Origins |date=1934 |publisher=The Alden Press |location=Oxford |pages=91, 261–262}}</ref><ref>{{cite book |author1=Caradog of Llancarfan |author1-link=Caradog of Llancarfan |editor1-last=Williams |editor1-first=Hugh |editor1-link=Hugh Williams (historian) |title=Gildas: The Ruin of Britain, Fragments from Lost Letters, the Penitential, Together with The Lorica of Gildas |date=1899 |publisher=David Nutt |location=London |pages=398–399 |url=https://books.google.com/books?id=FdwCAAAAYAAJ&pg=PA398 |access-date=14 August 2025 |language=en |chapter=Vita Gildae}}</ref><ref>{{cite book |last1=Owen |first1=George |author1-link=George Owen of Henllys |editor1-last=Owen |editor1-first=Henry |title=The Description of Penbrokshire |date=1906 |publisher=The Bedford Press |location=London |page=277 |url=https://books.google.com/books?id=aYzSAAAAMAAJ&pg=PA277 |access-date=17 August 2025 |language=en}}</ref> and he is variously stated to be the son of Owain Fraisg, a descendant of the Roman Emperor Constantine I and the Roman usuper Macsen Wledig.<ref>{{cite journal |last1=Barry |first1=Rev. E. |title=Records of the Barrys. First Chapter.—Barrymore. Notes and Corrections. |journal=Journal of the Cork Historical and Archaeological Society |date=January–March 1900 |volume=VI |issue=45 |page=9 |url=https://books.google.com/books?id=jQt7AAAAMAAJ&pg=PA9 |access-date=17 August 2025 |series=Second Series |language=en}}</ref><ref>{{cite book |last1=Thornton |first1=David E. |title=Kings, Chronologies, and Genealogies: Studies in the Political History of Early Medieval Ireland and Wales |date=2003 |publisher=Unit for Prosopographical Research |location=Oxford |isbn=978-1-900934-09-1 |page=153 |url=https://books.google.com/books?id=Xw_YySYSscQC&pg=PA153 |access-date=17 August 2025 |language=en}}</ref><ref name="BartrumEWGT">{{cite book |editor1-last=Bartrum |editor1-first=P. C. |editor1-link=Peter Bartrum |title=Early Welsh Genealogical Tracts |date=1966 |publisher=University of Wales Press |location=Cardiff |pages=4, 10, 30, 45–46, 106}}</ref>

[[File:Memoria.Voteporigis.Protictoris.jpg|thumb|A 19th century sketch of a memorial stone to King Vortiporius of Dyfed, found at Castell Dwyran dating from circa.550 AD. The Latin inscription (centre) gives the late Imperial title of "protector", while the Ogham inscription (along the left edge) is evidence of Irish influence.]] It was during this period that Dyfed saw much Irish settlement, and Triffyn is possibly named as ''Triphun'' in the Irish narrative, ''The Expulsion of the Déisi'' as a great-grandson of ''Eochaid Allmuir'' ("Eochaid the Foreigner"). The narrative describes how Eochaid traveled oversea with his descendants and settling in a place named ''Demed'', before giving a line of his descendants down to Tudor map Regin (named as ''Tualodor mac Rígin'').<ref>{{Cite book |last=Thornton |first=David E. |url=https://books.google.com/books?id=Xw_YySYSscQC&dq=Tualodor+mac+R%C3%ADgin+dyfed&pg=PA142 |title=Kings, Chronologies, and Genealogies: Studies in the Political History of Early Medieval Ireland and Wales |date=2003 |publisher=Occasional Publications UPR |isbn=978-1-900934-09-1 |language=en}}</ref> The Irish influence on the early kingdom lasted until the 5th century but is evidenced by the twenty Ogham stones found in the area. Some of the stones are bilingual and show a mix of Roman and Celtic heritage. The Ogham inscription on a stone at Castelldwyran, near Narberth dedicated to the 6th century king Vortiporius still gives him the late Imperial Roman title of "protector".{{sfn|Charles-Edwards|2013|pp=174-175}}

===Church life=== During the Age of the Saints, Dyfed may have had as many as seven bishops, called in Latin ''sacerdotes'',{{sfn|Charles-Edwards|2013|p=587}} one for each cantref; their sees were called ''parochia''.{{sfn|Charles-Edwards|2013|p=174-5}}<ref>Williams, A. H., ''An Introduction to the History of Wales'': Volume I: ''Prehistoric Times to 1063'', UoWP, 1941, p 120</ref><ref name="Welsh Church traditions, pre-norman">Davies, John, The Celts, pg 126-155</ref> However, by the High Middle Ages the Diocese of St Davids emerged as one of only three episcopal dioceses in Wales, with St Davids covering all of West Wales and part of Mid Wales.<ref name="Welsh Church">Davies, John, ''A History of Wales'', Penguin, 1994, ''Celtic Church'', 72-79 ''Welsh Church'' pg 118</ref>

===Viking raids=== Dyfed was subject to extensive raids during the Viking Age between the 8th and 11th centuries, causing social and political instability, and with the Vikings establishing settlements in southern Dyfed.<ref name="Foundation">Davies, John, ''A History of Wales'', Penguin, 1994, ''foundations of'' pgs 17,19, 43, ''Migration of the Desi into Demetia'', page 52 ''Demetia'' 17, 30, 34, ''ruling house of'' 52, 72, 85, 87, ''and the Vikings'' pages 85, ''relations with Alfred of Wessex'', page 85, ''and the Vikings/Northmen'' page 98, ''and the Normans'' 106, 112, 114</ref> By the latter part of the 9th century, the rulers of Dyfed had grown cautious of the influence of the sons of Rhodri the Great, and sought out an alliance and the patronage of Alfred the Great of England.<ref name="Foundation"/> Historical attempts have been made to cast the relationship as one as a confederation of Christian unity on the isle of Britain, under the leadership of Alfred, against the heathen Danes.<ref name="Foundation"/> However, there evolved a significant degree of coercion in the relationship, according to Davies. "The recognition by Welsh rulers that the king of England had claims upon them would be a central fact in the subsequent political history of Wales," according to Davies.<ref name="Foundation"/>

In about 904, Dyfed's ruler, Llywarch ap Hyfaidd, died, leaving his daughter Elen ferch Llywarch (893–943) as his heiress.<ref name="Foundation"/> Elen was married to Hywel Dda, ruler of neighbouring Seisyllwg and grandson of Rhodri the Great through his second son, Cadell ap Rhodri.<ref name="Foundation"/> Through his marriage to Elen, Hywel incorporated Dyfed into an enlarged realm to be known as ''Deheubarth'', meaning the "south part", and later went on to conquer Powys and Gwynedd.<ref name="Foundation"/> However, both Powys and Gwynedd returned to their native dynasties on Hywel's death in 950. Hwyel's grandson Maredudd ab Owain recreated the kingdom of his grandfather, but his rule was beset with increasing Viking raids during the latter part of the 10th century.<ref name="Foundation"/> It is during this period that Viking settlements increased, particularly in the area in the cantref of Penfro, with other Viking settlements and trading station at Haverfordwest, Fishguard and Caldey Island in Dyfed.<ref name="Foundation"/> Viking raids upon the Welsh were "relentless", according to Davies, and Maredudd was compelled to raise taxes to pay the ransoms for Welsh hostages in 993, and in 999 a Viking raiding party attacked St Davids and killed Morganau, the bishop.<ref name="Foundation"/>

===Norman invasion=== {{More citations needed section|date=May 2025}} Dyfed remained an integral province within Deheubarth until the Norman invasions of Wales between 1068 and 1100. In the Dyfed region, the cantrefi of Penfro, Rhos, Cemais and Pebidiog became occupied by Norman overlords. The Normans influenced the election of the Bishops of St Davids, in Pebidiog, from 1115 onwards. The Princes of Deheubarth, and later Llywelyn the Great as the Prince of a virtual Principality of Wales from 1216, fought to recover the region until the Conquest of Wales by Edward I in 1284 settled the matter. The 1284 Statute of Rhuddlan established the English counties of Pembrokeshire and Carmarthenshire out of the region formally known as ''Dyfed''.

By 1138 Dyfed was incorporated into a new shire called Pembrokeshire after the Norman castle built in the Cantref of Penfro and under the rule of the Marcher Earl of Pembroke.

==See also== *Déisi *Dyfed Archaeological Trust *''Pwyll Pendefig Dyfed''

==References== {{reflist|40em}}

==Bibliography== * {{cite book|last=Charles-Edwards|first=Thomas|author-link=Thomas Charles-Edwards|title=Wales and the Britons, 350-1064|url=https://books.google.com/books?id=AK_yn7Q3_x0C|year=2013|publisher=Oxford University Press |isbn=978-0-19-821731-2}}

==Further reading== * ''The Irish settlements in Wales'', Myles Dillon, ''Celtica'' 12, 1977, p.&nbsp;1-11.

{{Welsh kingdoms}} {{Dalcassians}}

{{coord|51.9|-4.7|type:adm1st_region:GB|display=title}}

{{DEFAULTSORT:Kingdom Of Dyfed}} Category:920 disestablishments Category:Dyfed Dyfed Category:History of Pembrokeshire Category:States and territories established in the 410s