Маэлсехнайлл
Following the death of High King Domnall ua Néill, Amlaíb's stepson Máel Sechnaill mac Domnaill claimed the title. Amlaíb's former ally Domnall son of Congalach had died in 976, removing one potential rival, and as Amlaíb had killed two of Domnall ua Néill's sons he may have cleared the way for Máel Sechnaill to take power. If so, it was unlikely to be by design. Máel Sechnaill had become king of Mide and head of Clann Cholmáin in 975 and had inaugurated his reign with an attack on his stepfather when he burned "Thor's Wood" outside Dublin. In 980 Máel Sechnaill had the support of the Leinstermen when he faced Amlaíb's sons—Amlaíb himself was by now an old man—near the hill of Tara. The Dubliners too had allies as the Irish annals record the presence of warriors from the Isle of Man or the Hebrides. Amlaíb's son Ragnall (Rögnvaldr) was among the dead in the battle which followed, and although several kings fighting alongside Máel Sechnaill were killed, the result was clearly a crushing blow for Dublin. Máel Sechnaill occupied the city and imposed a heavy tribute on the citizens.