"The Ballad of Reading Gaol" was written by Oscar Wilde in France, where he was in exile after his release from Reading Gaol. Wilde had been imprisoned and sentenced to two years hard labor. A hanging took place while Wilde was incarcerated, and the poem is the narrative of the execution.