He was related to Colonel Charles O’Kelly (1621–1695) who fought in the Irish Confederate Wars and at the Battle of Aughrim, and was the author of a book on the Williamite Wars, The Conquest of Cyprus.