Once in Royal David's City is a Christmas carol originally written as poem by Cecil Frances Alexander. The carol was first published in 1848 in Miss Cecil Humphreys' hymnbook Hymns for little Children. A year later, the English organist Henry John Gauntlett discovered the poem and set it to music. Cecil Alexander, meanwhile, married the Anglican clergyman William Alexander in 1848 and upon her husband's consecration became a bishop's wife in 1867. She is also remembered for her hymn All Things Bright and Beautiful. The above text from the Wikipedia article "Once In Royal David's City" text is available under CC BY-SA 3.0.