Answer the following question: Information: - Llandeilo is a community and town in Carmarthenshire, Wales, situated at the crossing of the River Towy by the A483 on a 19th-century stone bridge. Its population was 1,795 at the 2011 Census. It is adjacent to the westernmost point of the Brecon Beacons National Park. - A castle (from ) is a type of fortified structure built in Europe and the Middle East during the Middle Ages by nobility. Scholars debate the scope of the word "castle", but usually consider it to be the private fortified residence of a lord or noble. This is distinct from a palace, which is not fortified; from a fortress, which was not always a residence for nobility; and from a fortified settlement, which was a public defence though there are many similarities among these types of construction. Usage of the term has varied over time and has been applied to structures as diverse as hill forts and country houses. Over the approximately 900years that castles were built, they took on a great many forms with many different features, although some, such as curtain walls and arrowslits, were commonplace. - Great Britain, also known as Britain, is a large island in the north Atlantic Ocean off the northwest coast of continental Europe. With an area of , Great Britain is the largest European island and the ninth-largest in the world. In 2011 the island had a population of about 61million people, making it the world's third-most populous island after Java in Indonesia and Honshu in Japan. The island of Ireland is situated to the west of it, and together these islands, along with over 1,000 smaller surrounding islands, comprise the British Isles archipelago. - The Principality or Kingdom of Gwynedd (Medieval Latin: "Venedotia" or "Norwallia"; Middle Welsh: "Guynet",) was one of several successor states to the Roman Empire that emerged in sub-Roman Britain in the 5th century during the Anglo-Saxon settlement of Britain. - The United Kingdom of Great Britain and Northern Ireland, commonly known as the United Kingdom (UK) or Britain, is a sovereign country in western Europe. Lying off the north-western coast of the European mainland, it includes the island of Great Britain (the name of which is also loosely applied to the whole country), the north-eastern part of the island of Ireland, and many smaller islands. Northern Ireland is the only part of the UK that shares a land border with another sovereign statethe Republic of Ireland. Apart from this land border, the UK is surrounded by the Atlantic Ocean, with the North Sea to its east, the English Channel to its south and the Celtic Sea to its south-south-west, giving it the 12th-longest coastline in the world. The Irish Sea lies between Great Britain and Ireland. With an area of , the UK is the 78th-largest sovereign state in the world and the 11th-largest in Europe. It is also the 21st-most populous country, with an estimated 65.1 million inhabitants. Together, this makes it the fourth most densely populated country in the European Union. - Beaumaris Castle, located in the town of the same name on the Isle of Anglesey in Wales, was built as part of Edward I's campaign to conquer the north of Wales after 1282. Plans were probably first made to construct the castle in 1284, but this was delayed due to lack of funds and work only began in 1295 following the Madog ap Llywelyn uprising. A substantial workforce was employed in the initial years under the direction of James of St George. Edward's invasion of Scotland soon diverted funding from the project, however, and work stopped, only recommencing after an invasion scare in 1306. When work finally ceased around 1330 a total of 15,000 had been spent, a huge sum for the period, but the castle remained incomplete. - Cadell ap Rhodri (854909) was King of Seisyllwg, a minor kingdom in southwestern Wales, from about 872 until his death. - Wales is a country that is part of the United Kingdom and the island of Great Britain. It is bordered by England to the east, the Irish Sea to the north and west, and the Bristol Channel to the south. It had a population in 2011 of 3,063,456 and has a total area of . Wales has over of coastline and is largely mountainous, with its higher peaks in the north and central areas, including Snowdon, its highest summit. The country lies within the north temperate zone and has a changeable, maritime climate. - Carmarthenshire (or informally "Sir Gar") is a unitary authority in the south-west of Wales and is the largest of the thirteen historic counties of Wales. The three largest towns are Llanelli, Carmarthen and Ammanford. Carmarthen is the county town and administrative centre of Carmarthenshire, but the most populous settlement is Llanelli. - The River Severn (Welsh: "Afon Hafren", Latin: "Sabrina") is the longest river in the United Kingdom, at about . It rises at an altitude of on Plynlimon, close to the Ceredigion/Powys border near Llanidloes, in the Cambrian Mountains of mid Wales. It then flows through Shropshire, Worcestershire and Gloucestershire, with the county towns of Shrewsbury, Worcester and Gloucester on its banks. With an average discharge of at Apperley, Gloucestershire, the Severn is the greatest river in terms of water flow in England and Wales. - England is a country that is part of the United Kingdom. It shares land borders with Scotland to the north and Wales to the west. The Irish Sea lies northwest of England and the Celtic Sea lies to the southwest. England is separated from continental Europe by the North Sea to the east and the English Channel to the south. The country covers five-eighths of the island of Great Britain (which lies in the North Atlantic) in its centre and south; and includes over 100 smaller islands such as the Isles of Scilly, and the Isle of Wight. - The Bristol Channel is a major inlet in the island of Great Britain, separating South Wales from Devon and Somerset in South West England. It extends from the lower estuary of the River Severn to the North Atlantic Ocean. It takes its name from the English city of Bristol, and is over 30miles (50km) across at its widest point. - Dyfed is a preserved county of Wales. It was created on 1 April 1974, as an amalgamation of the three pre-existing counties of Cardiganshire, Carmarthenshire and Pembrokeshire. It was abolished twenty-two years later, on 1 April 1996, when the three original counties were reinstated, Cardiganshire being renamed Ceredigion the following day. The name "Dyfed" is retained for certain ceremonial and other purposes. It is a mostly rural county in southwestern Wales with a coastline on the Irish Sea and the Bristol Channel. - Dinefwr was a local government district of Dyfed , Wales from 1974 to 1996 . It was named after Dinefwr Castle which was the court of the House of Dinefwr and one of the three principal royal courts of Wales with Aberffraw and Shrewsbury . It was formed by the merger of the borough of Llandovery , the urban districts of Ammanford , Cwmamman and Llandeilo along with Llandeilo Rural District , from the administrative county of Carmarthenshire . The inaugural elections to the authority were held in 1973 . Further elections were held in 1976 , 1979 , 1983 , 1987 and 1991 . Independent councillors held a majority of the seats on the authority throughout its existence and the most significant political grouping was the Labour Party who held a number of seats in the former mining wards of the Amman Valley . In 1996 the district was abolished under the Local Government ( Wales ) Act 1994 . It was replaced by the new unitary authority of Carmarthenshire , which covers the areas of the former districts of Carmarthen , Llanelli and Dinefwr . See also Dinefwr Borough Council election , 1973 Dinefwr Borough Council election , 1976 Dinefwr Borough Council election , 1979 Dinefwr Borough Council election , 1983 Dinefwr Borough Council election , 1987 Dinefwr Borough Council election , 1991 - Rhodri ap Merfyn (820878), later known as Rhodri the Great, succeeded his father, Merfyn Frych, as King of Gwynedd in 844. Rhodri annexed Powys c. 856 and Seisyllwg c. 871. He is called "King of the Britons" by the "Annals of Ulster." In some later histories, he is referred to as "King of Wales", although the title is anachronistic and his realm did not include southern Wales. - Shropshire (or ; alternatively Salop; abbreviated, in print only, Shrops; demonym Salopian ) is a county located between West Midlands in England and Wales. It borders Powys and Wrexham in Wales to the west and north-west, Cheshire to the north, Staffordshire to the east, Worcestershire to the south-east and Herefordshire to the south. Shropshire Council was created in 2009, a unitary authority taking over from the previous county council and five district councils. The borough of Telford and Wrekin has been a separate unitary authority since 1998 but continues to be included in the ceremonial county. - Aberffraw is a small village and community on the south west coast of the Isle of Anglesey, in Wales, by the west bank of the Afon Ffraw. Access by road is by way of the A4080 and the nearest rail station is Bodorgan. In the early Middle Ages Aberffraw was the capital of the Kingdom of Gwynedd from c.860 AD until c.1170. Under the eponymous Aberffraw Dynasty it came to be the most important political centre in medieval Wales. The "Llys" remained the symbolic throne of the Kings of Gwynedd from the 9th century to the 13th century. The Royal Annals of Edward I of England show the Llys was dismantled in 1315 to provide building materials for nearby Beaumaris Castle. - Carmarthen ( "Merlin's fort") is a community in, and the county town of, Carmarthenshire, Wales. It is on the River Towy north of its mouth at Carmarthen Bay. In 2001, the population was 15,854. - Yr Wyddfa commonly known as Snowdon in English, is the highest mountain in Wales, at an elevation of above sea level, and the highest point in the British Isles south of the Scottish Highlands. It is located in Snowdonia National Park (") in Gwynedd, and has been described as "probably the busiest mountain in Britain". It is designated as a national nature reserve for its rare flora and fauna. - In the history of Europe, the Middle Ages or medieval period lasted from the 5th to the 15th century. It began with the fall of the Western Roman Empire and merged into the Renaissance and the Age of Discovery. The Middle Ages is the middle period of the three traditional divisions of Western history: classical antiquity, the medieval period, and the modern period. The medieval period is itself subdivided into the Early, High, and Late Middle Ages. - Dinefwr Castle (sometimes anglicised as Dynevor) is a Welsh castle overlooking the River Tywi near the town of Llandeilo, Carmarthenshire, Wales. It lies on a ridge on the northern bank of the Tywi, with a steep drop of one hundred feet to the river. Dinefwr was the chief seat of the Principality of Deheubarth. The castle is a Grade I listed building. - The House of Dinefwr was a royal house of Wales and refers to the descendants of Cadell ap Rhodri King of Seisyllwg, son of Rhodri the Great. - Edward I (17/18 June 1239 7 July 1307), also known as Edward Longshanks and the Hammer of the Scots, was King of England from 1272 to 1307. He spent much of his reign reforming royal administration and common law. Through an extensive legal inquiry, Edward investigated the tenure of various feudal liberties, while the law was reformed through a series of statutes regulating criminal and property law. Increasingly, however, Edward's attention was drawn towards military affairs. - Pembrokeshire (, or ) is a county in the south west of Wales. It borders Carmarthenshire to the east and Ceredigion to the north east. Pembrokeshire County Council's headquarters are in the county town of Haverfordwest. - Shrewsbury (or ) is the county town of Shropshire, England. It is on the River Severn and has a population of approximately 72,000. - Seisyllwg was a petty kingdom of medieval Wales. It is unclear when it emerged as a distinct unit, but according to later sources it consisted of the former Kingdom of Ceredigion plus the region known as Ystrad Tywi. Thus it covered the modern county of Ceredigion, part of Carmarthenshire, and the Gower Peninsula. It is evidently named after Seisyll, king of Ceridigion in the 7th or early 8th century, but it is unknown if he was directly responsible for its establishment. In the 10th century Seisyllwg became the center of power for Hywel Dda, who came to rule most of Wales. In 920 Hywel merged Seisyllwg with the Kingdom of Dyfed to form the new kingdom of Deheubarth. - Ceredigion is a county in Mid Wales. In the Middle Ages, it was a minor kingdom also known for a time as Seisyllwg. Following its Norman conquest, the name was anglicised to Cardigan and then Cardiganshire and it began to be administered as a county in 1282. The county had a population of 75,900 at the 2011 UK census. Its largest town, Aberystwyth, is one of the two administrative centres; the other being Aberaeron. Aberystwyth houses Aberystwyth University, Bronglais Hospital and the National Library of Wales. The inland town of Lampeter houses part of the University of Wales Trinity Saint David. More than half the population speak the Welsh language and the county is considered a centre of Welsh culture. - The Irish Sea (, , , Ulster-Scots: "Airish Sea"), separates the islands of Ireland and Great Britain. It is connected to the Celtic Sea in the south by St George's Channel, and to the Inner Seas off the West Coast of Scotland in the north by the North Channel. Anglesey is the largest island within the Irish Sea, followed by the Isle of Man. The sea is occasionally, but rarely, referred to as the Manx Sea. - Deheubarth (lit. "Right-hand Part", thus "the South") was a regional name for the realms of south Wales, particularly as opposed to Gwynedd (Latin: "Venedotia"). It is now used as a shorthand for the various realms united under the House of Dinefwr, but that Deheubarth itself was not considered a proper kingdom on the model of Gwynedd, Powys, or Dyfed is shown by its rendering in Latin as "dextralis pars" or as "Britonnes dexterales" ("the Southern Britons") and not as a named land. In the oldest British writers, "Deheubarth" was used for "all" of modern Wales to distinguish it from "Y Gogledd" or "Hen Ogledd", the northern lands whence Cunedda and the Cymry originated. What entity does 'dinefwr borough council' has the relation 'capital of' with?
Answer:
kingdom of deheubarth