During the Middle Ages the chiefs of Cenél Áeda na hEchtge, the O'Shaughnessys (Ó Seachnasaigh, a clan descended from Guaire Aidhneach) had their principal stronghold in Gort, on a site which later became a cavalry barracks.