Nielsen was commissioned to compose the song in 1920 so that it could appear in a publication celebrating Borups Højskole. Nielsen also included it in his own collection Tyve folkelige Melodier. According to a letter to Thorvald Aagaard, he finished the melody in July 1921. See more about this work at The Royal Library