Nielsen composed the melody during the first months of 1924 on his publisher's request. Later, he remembered that Thorvald Aagaard had already composed a melody for the same text, leading to a dispute between Nielsen and Thomas Laub. See more about this work at The Royal Library