The campaigns of 1168 and 1169 had ended prosperously for Dermid in the treaty of Ferns. By that treaty he had bound himself to bring no more Normans into the country, and to send those already in his service back to their homes.