The melody still used in current songbooks is attributed to Johann Abraham Peter Schulz, and was published first in 1800 in Hanover in the second edition of a collection "Melodien für Volksschulen" (Melodies for elementary schools).