Brian consolidated his hold on Ireland by eventually obtaining the submission of the northern territories of Cenél nEógain, Cenél Conaill, and Ulaid, following a series of circuits of the northern part of the island. He completed the task when, following "a great hosting...by land and sea" into the Uí Néill territory of Cenél Conaill in 1011, the King was brought south to Dál gCais territory to submit to Brian Boru in person at his royal site of Cenn Corad. It was not long, however, before fighting was renewed. Flaithbertach Ua Néill, King of the Cenél nEógain, resented the rise of Brian Boru. Had the old political order persisted, Flaithbertach would have been in line to succeed to the high-kingship. He attacked his Cenél Conaill neighbours in 1012 but, while doing so, Máel Seachnaill attacked the Cenél nEógain inauguration site of Tullahoge. Flaithbertach in turn raided Meath the following year and Máel Sechnaill was forced to back down. Sigtrygg and Máel Mórda took advantage, and themselves raided Meath. Máel Sechnaill sent his army to raid the hinterland north of Dublin as far as Howth but he was defeated. He lost two hundred men including his son Flann. Sigtrygg then sent a fleet along the coast to attack the Munster town of Cork, but that was defeated, and Sigtrygg's nephew was killed. A full-scale conflict was inevitable. Brian brought his army to Leinster in 1013, and camped outside Dublin from September until the end of the year.