 On 10 July, a day before the truce between the IRA and British forces, Keating's unit was involved in a gun battle with the British Army near Castleisland.This confrontation resulted in the deaths of four British soldiers and five IRA volunteers.Keating opposed the 1921 Anglo-Irish Treaty and fought on the anti-treaty side in the Irish Civil War.