John McGallogly was court martialed in Richmond Barracks on 3 May 1916. He was tried alongside William Pearse, J.J. Walsh and Sean McGarry. All four men had fought in the GPO.
Recalling the trial, McGallogly says that William Pearse was the first to be questioned. On being asked his role in the Rising McGallogly states that Pearse said,
That he was not in charge of any troops, he was only a personal attaché of his brother.
The trial of the four men lasted fifteen minutes after which they were removed to Kilmainham Gaol and put in separate cells.
That night McGallogly was given the verdict of his trial. He was sentenced to death but this was commuted to ten years penal servitude. J.J. Walsh received the same sentence. Sean McGarry was also sentenced to death, but his sentence was commuted to eight years penal servitude.
William Pearse was sentenced to death and was executed in Kilmainham Gaol on 4 May 1916.
John McGallogly was a member of the Kimmage garrison and was attached to the Headquarters Battalion during the Easter Rising.
John McGallogly was interviewed for the television series 'Ireland A Television History' in 1979.