Merfyn Frych ('Merfyn the Freckled'; Old Welsh Mermin), also known as Merfyn ap Gwriad ('Merfyn son of Gwriad') and Merfyn Camwri ('Merfyn the Oppressor'), was King of Gwynedd from around 825 to 844, the first of its kings known not to have descended from the male line of King Cunedda. Little is known of his reign, and his primary notability is as the father of Rhodri the Great and founder of his dynasty, which was sometimes called the Merfynion after him. Merfyn came to the throne in the aftermath of a bloody dynastic struggle between two rivals named Cynan and Hywel generally identified with the sons of Rhodri Molwynog. The Annales Cambriae say Merfyn died around 844, the same year in which a battle occurred at Cetyll, but it is unclear whether those were two unrelated events or he fell in battle. Political background The times leading up to Merfyn's reign were unsettled for both Gwynedd and neighbouring Powys. Both kingdoms were beset by internal dynastic strife, external pressure from Mercia, and bad luck with nature. In 810, there was a bovine plague that killed many cattle (the primary form of wealth at the time) throughout Wales. The next year, the ancient wooden llys at Deganwy was struck by lightning. A destructive war for control of Gwynedd raged between 812 and 816, while in Powys a son of the king was killed by his brother "through treachery". In 818, there was a notable battle at Llanfaes on Anglesey. Although our sources do not identify the combatants, the site had been the llys of King Cynan. Coenwulf of Mercia took advantage of the situation in 817, occupying Rhufoniog (see map) and laying waste to the mountains of Snowdonia. Coastal Wales along the Dee Estuary must have remained under Mercia’s control through 821, as Coenwulf is recorded dying peacefully at Basingwerk in that year. In 823, Mercia laid waste to Powys and returned to Gwynedd to burn Deganwy to the ground. Gwynedd and Powys then gained a respite when Mercia's attention turned elsewhere and its fortunes waned. King Beornwulf was killed fighting the East Anglians in 826, his successor Ludeca suffered the same fate the following year, and Mercia was conquered and occupied by Ecgberht of Wessex in 829. Though Mercia managed to throw off Ecgberht's rule in 830, it was thereafter beset by dynastic strife and never regained its former dominance,