 One of his fellow-prisoners at Newgate was Oliver Plunkett, Archbishop of Armagh, with whom he formed a close friendship, and whom he prepared for his execution, which took place on 15 June 1681.Some correspondence which was carried on in prison between these two was later published.On the accession of James II of England in 1685, Father Corker was released and kept at the court as resident ambassador of Prince-Bishop Ferdinand of Bavaria, the Elector of Cologne.