The song was first published on a leaflet in 1833, with other "authentic Tyrolean songs". Frederick William IV of Prussia wanted to know the authors of the song, and asked St. Peter's Archabbey, Salzburg, in 1854. The abbey found Gruber, who was still alive. In the meantime, the song had been attributed to Michael Haydn.