Ystlyg (English: possibly curve[1] or open country[2]) was a medieval cantref in the Kingdom of Powys. It lay at the east of the kingdom on the border with England. It consisted of the commotes (cymydau) of Deuddwr in the north,[3] Ystrad Marchell in the centre, Llannerch Hudol (also written Llannerchwdwl, Llanerchydol or Llannerchudol) in the south, and Y Gorddwr (or Corddwr[4]) in the east beyond the River Severn and Offa's Dyke.[5]
Ystad Marchell, Llannerch Hudol and Deuddwr formed the Teirswydd (English: three [commotes] (literally, swydd is post as in an office)) which were among the lands restored into the possession of Gruffydd ap Gwenwynwyn in return for his homage and fealty by Llywelyn ap Gruffudd at Ystumanner in 1263.[6] Y Gorddwr had remained under the control of the Corbet family (barons of Caus) and therefore the English king.[7]
The cantref of Ystlyg (excluding Y Gorddwr) corresponds to the later hundred of Deuddwr.[3]