Battle of the Conwy In 877 they partitioned Mercia, taking the east for themselves and leaving the west to Ceolwulf. Gwynedd was also under attack from the Vikings, and in 877 King Rhodri Mawr was defeated and driven out. He returned the following year, but immediately came under attack from Mercia, which was still trying to maintain its hegemony in Wales. King Alfred's victory over the Vikings at the Battle of Edington in May 878 relieved the pressure on Mercia, and in the same year Mercia defeated and killed Rhodri Mawr. Ceolwulf died or was deposed in 879, and he was succeeded as Lord
Danes (Germanic tribe) fortified trade settlements, so called longphorts. During the Viking Age, they established many coastal towns including Dublin (Dyflin), Cork, Waterford (Veðrafjǫrðr) and Limerick (Hlymrekr) and Danish settlers followed. There were many small skirmishes and larger battles with the native Irish clans in the following two centuries, with the Danes sometimes siding with allied clans. In 1014 AD, at the Battle of Clontarf, the Vikings were eventually defeated and the remaining Danish settlers gradually assimilated with the Irish population. The first Vikings appeared in Frisia, now part of the Netherlands and Germany, in 800 AD, when Danes plundered coastal settlements and