Dubdaleithe went to Cruachain for 'the promulgation of Patrick's law,' in other words, to bring the establishment under the control of Armagh, and to impose on it the same rules. This Dubdaleithe was the first to raise a contest as to the abbacy. Faindealach was the rightful occupant, and the two were in contention, setting up rival claims, as long as they lived.
Connaught was again visited by the Abbot of Armagh in 810, and in 822 an emissary named Airtri, with the aid of the reigning kings, caused all Munster to be brought into subjection. After that, he completed the work begun in Connaught, 'promulgating the law of Patrick among its three divisions;' and finally he endeavoured to eject his superior, Eoghan, the Abbot of Armagh, and set himself in his place. In this last, however, he was unsuccessful. Eoghan was soul friend to Niall, one of the most powerful chieftains of Ulster, and utilizing the influence which he thus possessed, he sent to him this quatrain, threatening him with the ecclesiastical curse if he did not take up arms in his favour:
'Say to Niall that not lucky for him will be the curse of Eoghan, son of Anmchad.
He will not be in the kingdom in which he is, unless his soul friend be abbot.'
The result was that the chieftains made the cause of the contending abbots their own. A fiercely contested battle was fought, which lasted three days, with the result that Niall was victorious and Eoghan was retained in his abbacy. Some members of the community would have wished the dispute to have terminated otherwise. One of the seniors of Armagh has left the record of his dissatisfaction in these words:—