Corpus of Electronic Texts Edition
Cath Maige Tuired: The Second Battle of Mag Tuired (Author: [unknown])

section 24

As a result of that contention which took place among the Túatha Dé, the sovereignty of Ireland was given to that youth; and he gave seven guarantors from the warriors of Ireland (his maternal kinsmen) for his restitution of the sovereignty if his own misdeeds should give cause. Then his mother gave him land, and he had a fortress built on the land, Dún mBrese. And it was the Dagda who built that fortress.