Allegri wrote the "Miserere" to be sung in the Sistine Chapel during the Easter celebrations. During the service, which started at 3.00am, there would be 27 candles burning. The Pope would gradually extinguish the candles until there was only one left burning. The "Miserere" was performed as the pope prayed at the altar with the single candle.