South Leith Parish Church, originally the Kirk of Our Lady, St Mary, is a congregation of the Church of Scotland. It is the principal church and congregation in Leith, in Edinburgh. Its kirkyard is the burial place for John Home (author of Douglas) and John Pew, the man from whom the author Robert Louis Stevenson reputedly derived the character of Blind Pew in the novel Treasure Island. The church has been repaired, used as an ammunition store and reconstructed but still retains the basic layout of the nave of the old church.