The poem was specially commissioned from Franz Grillparzer by Anna Fröhlich, a singing teacher in Vienna, to celebrate the birthday of one of her pupils. Schubert wrote the music in a few days for mezzo-soprano and male voices. But because Anna Fröhlich wanted to sing the work with her friends, Schubert had to produce a revised version with a women's choir.