Other evidence supports Nennius's claim that a leader came to north Wales and brought the region a measure of stability, although an Irish Gaelic element remained until the mid-5th century. Cunedda's heir Einion Yrth ap Cunedda defeated the remaining Gaelic Irish on Anglesey by 470, while his son, Cadwallon Lawhir ap Einion, appears to have consolidated the realm during the time of relative peace following the Battle of Badon, where the Anglo-Saxons were soundly defeated. During that peace he established a mighty kingdom. After Cadwallon, Gwynedd appears to have held a pre-eminent position amongst the petty Cambrian states in the post-Roman period. The great-grandson of Cunedda, Maelgwn Hir "Maelgwn the Tall", was one of the most famous (or infamous) leaders in Welsh history. There are several legends about his life concerning miracles performed either by him or in his presence. He is attributed in some old stories as hosting the first Eisteddfod and he is one of five Celtic British kings castigated for their sins by the contemporary Christian writer Gildas (who referred to him as Maglocunus, meaning 'Prince-Hound' in Brittonic) in "De Excidio et Conquestu Britanniae". Maelgwn was curiously described as "the dragon of the island" by Gildas which was possibly a title, but explicitly as the most powerful of the five named British kings. "[Y]ou the last I write of but the first and greatest in evil, more than many in ability but also in malice, more generous in giving but also more liberal in sin, strong in war but stronger to destroy your soul."