This tune was originally composed by Joachim Neander in the meter 8.7. 8.7. 8.8. for his own text, “Unser Herrscher, unser König.” After subsequent alteration it came to be closely associated with the text “Tut mir auf die schöne Pforte (Open Now Thy Gates of Beauty),” which follows the meter 8.7. 8.7. 7.7. The original form of the melody may be found in a later printing (1686) of the original source.