Hugh De Lacy became the First Earl of Ulster in 1205, this was the first creation of earls, there would be a second creation and another 1st Earl of Ulster in 1271. De Lacy lost the castle in 1210 when King John arrived and forced him to flee to Scotland and then to France after a war broke out between the Earl and FitzHenry, the King's Judiciary in Ireland. The castle returned to Hugh De Lacy in 1227 after Henry III became king. De Lacy then added the gatehouse, towers and outer walls and also endowed the Franciscan Friary, he lived here until his death in 1242.