Ryan Reeves, in an article entitled “The History Behind ‘Silent Night’”, tells us,
“The lyrics to Silent Night were written by Josef Mohr, a man whose name was unloved in his home town of Salzburg. Mohr was one of three illegitimate sons to Anna Schoiberin, while his father, Franz, was a mercenary soldier who eventually abandoned the family. To make matters worse, Josef’s godfather was the town executioner.
Perhaps due to his mother’s poverty, the curate of the local Catholic cathedral took Josef in as a foster child. Josef had a proclivity toward music, which was encouraged by the church, and he eventually decided himself to pursue the priesthood. He was ordained August 21, 1815, and was sent to Oberndorf, just north of Salzburg. He there met Franz Xaver Gruber, a local schoolteacher who would become organist at Old Saint Nicholas Church the following year.
Gruber came from equally humble origins, and himself took comfort in his music. The friendship of the two is what led to the creation of Silent Night.
Silent Night—or Stille Nacht in the original German—was created because Mohr needed a carol for worship. On Christmas Eve of 1818, Mohr visited Gruber with a poem he had written a few years earlier. Gruber quickly arranged the song to be played on a guitar with a choir because the church organ was broken. That evening at Midnight Mass, Gruber strapped on his guitar and led the congregation at St. Nicholas in the first rendition of Silent Night.”