The song was originally composed for Helge Rode's play Kampene i Stefan Borgs Hjem, which was staged in the beginning of 1901. Nielsen composed the song during January and dated the pencil sketch on 26 January 1901. See more about this work at The Royal Library