The Danish wars affected the Culdee houses. Clondalken and Clones disappeared altogether. At Clonmacnoise, as early as the eleventh century, the Culdees were laymen and married, while those at Monahincha and Scattery Island, being utterly corrupt and unable, or unwilling, to reform, gave way to the regular canons. At Armagh, regular canons were introduced into the cathedral church in the twelfth century and took precedence over the Culdees, six in number, a prior and five vicars. These still continued a corporate existence, charged with the celebration of the Divine offices and the care of the church building: they had separate lands and sometimes charge of parishes. When a chapter was formed, about 1160, the prior usually filled the office of precentor, his brethren being vicars choral, and himself ranking in the chapter next to the chancellor. He was elected by his brother Culdees and confirmed by the primate, and had a voice in the election of the archbishop by virtue of his position in the chapter.