the large bailey's Iron Age origins have been "convincingly argued", while Robert Scourfield & Richard Haslam(2013) surmise, on the basis of the RCAHMW report, that "the hill is no longer considered as having been first fortified in the Iron Age". Initial medieval activity Cefnllys is connected in tradition with Elystan Glodrydd, a 10th-century prince of Buellt and founder of the regional Welsh dynasty. The court of a Welsh ruler is assumed to have been sited nearby, but the time period, duration and precise location of such a are unresolved. In a Clwyd-Powys Archaeological Trust report for Cadw, Robert Silvester observed that the motte-and-bailey north of Castle Bank is considered a probable site, granting that a in this setting is more likely to have superseded the Norman castle than predated it, and no physical traces have been found. A silver thumb-ring recovered on Castle Bank may date from an early medieval period of Welsh occupation, and the circular graveyard ringed by yew trees could denote a pre-Norman origin of St Michael's Church. However, there is no substantive archaeological or written evidence to support any of these The timber motte-and-bailey north of Castle Bank is assumed to be the work of Ralph Mortimer of Wigmore. One of a group of Norman barons who overran the region in 1093, Ralph is credited with the construction of a castle in Maelienydd named "Dynyetha", probably between 1093 and 1095. After his death , the area was retaken by the Welsh and remained a disputed territory throughout the 12th century. Dinieithon was last documented in 1179, but was not described as a castle, suggesting that it had been destroyed, abandoned or possibly reused as a . English control was still far from secure when Llywelyn the Great, ruler of the ascendant Welsh state of Gwynedd, established his authority over southern Powys between 1208 and 1216, acting as protector and suzerain of the local Welsh dynasty. The historian Paul Remfry has speculated that the northern castle at Castle Bank may have been started in the period 1216–1234 under Llywelyn's direction, although it is generally considered to be a Mortimer creation. First masonry castle The death of Llywelyn in April 1240 led to an internal power struggle within Gwynedd, presenting Ralph Mortimer II with an opportunity to strengthen his position in Maelienydd. By the end of Henry III's Welsh campaign of August 1241, Ralph was in full control