Conchobhair Uí Failghe) and others. From the 8th until the 11th century, the kingship of Leinster rotated in a remarkable stable arrangement between three branches of the North Leinster Uí Dúnlainge kinship, namelt the Uí Fáeláin (ancestors of the O'Byrnes), the Uí Muiredaig (ancestors of the O'Tooles) and the Uí Dúnchada (whose descendants became the MacGillaMoCholmóc and later the FitzDermots). In the 9th century, the Laighín also regained control of Osraige but it remained a largely independent realm under the Mac Giolla Phádrag, from the semi-autonomous Uí Failghe kinship group. The Uí Cheinnselaig in South Leinster took back control of the kingship of Leinster in the 11th century, with Diarmait mac Máel na mBó, who became the first Leinsterman to be High King of Ireland in over a thousand years and claimed to the most senior line of the Laighín. An enemy of the Vikings of Dublin, he gave refuge to the sons of Harold Godwinson after the Normans conquered England. It is from this line that the Mac Murchada family originate and later Diarmait Mac Murchada would be implicated in the 12th century Norman invasion of Ireland after he tried to win back his Leinster throne. The reigning dynasty adopted the surname Caomhánach (Kavanagh) and continued to rule a rump Kingdom of Leinster until the early 17th century, with the last recorded King of Leinster being Domhnall Spáinneach Mac Murchadha Caomhánach. Throughout the centuries after the Norman invasion, several Kings and also leaders from dynasties who had previously held the Kingship of Leinster, continued to resist the invasion and hounded the English Pale periodically from the Wicklow Mountains: including the leaders of the O'Toole and O'Byrne clans (notable examples include Art Óg Mac Murchadha Caomhánach and Fiach McHugh O'Byrne) until the 17th century. Legendary Kings Mesgegra Kings of Leinster Laigin, classical antiquity |- | Úgaine Mór634–594 BC || || Son of Eochu Buadach||unknown || 594 BCE |- | Lóegaire Lorc594–592 BC || || Son of Úgaine Mór||unknown || 592 BCE |- | Ailill Áine592–592 BC || || Son of Lóegaire Lorc||unknown || 592 BCE |- | Cobthach Cóel Breg592–542 BC || || Son of Úgaine Mór||unknown || 542 BCE |- | Labraid Loingsech542–523 BC || || Son of Ailill Áine mac Lóegaire Lorc||unknown || 523 BCE |- | Cathair Mór 119–122 AD || || Son of Fedlimid Fir Urglais mac Cormaic Gealtach||11 children || 122 AD |- |} Uí