O'Kelly ( ) is an Irish surname and the name of a number of distinct sept families in Ireland. The most prominent of these is the O'Kelly sept who were the chiefly family of the UàMaine in Connacht. Another sept is that of the kingdom of Brega, descended from the UàNéill. A more minor sept of O'Kelly was that descended from the UàMáil; this sept is referred to in Irish as the UàCeallaig Cualann, in reference to the region of their origin, Cualu.
The O'Kelly sept of UàMaine is descended from Cellach mac FÃÂonachta, who lived in the 9th century. The first to bear the surname was Tadhg Mór àCeallaigh, a grandson of the former who was slain in the Battle of Clontarf fighting on behest of his ally Brian Boru, king of Munster and high king of Ireland. According to historian C. Thomas Cairney, the O'Kellys came from the tribe of Ui Maine who in turn were from the Dumnonii or Laigin who were the third wave of Celts to settle in Ireland during the first century BC.
The earliest parts of the O'Kelly genealogy are contained in the Book of Hy Many, which was written in the latter half of the 14th century on behest of the then archbishop of Tuam, Muircheartach mac Pilib ÃÂ Ceallaigh. Its compilation was the idea of William O'Kelly, a chief of Hy Many. The book is now kept in the Royal Irish Academy in Dublin.
The coat of arms of the O'Kelly of UÃÂ Maine is as follows: "azure, a tower triple-towered supported by two lions rampant argent as many chains descending from the battlements between the lions' legs or" The motto is, "Turris fortis mihi Deus", which translates to "God is a Strong Tower to Me" or alternatively "God is my Tower of Strength".
The O'Kelly sept of Brega is descended from Cellach mac Congalach, a son of Congalach mac Conaing. This sept is considered one of the Four Tribes of Tara.
The O'Kelly sept of Cualu is descended from Cellach Cualann mac Gerthidi, an UàMáil king of Leinster in the late 7th through to the early 8th century.