
The tune comes from a piece Mendelssohn wrote in 1840 for a festival marking 400 years of Gutenberg's printing press.
The words are a hymn written by Charles Wesley of England in 1739, and the tune comes from a choral work Mendelssohn wrote in 1840 to celebrate the 400th anniversary of Gutenberg's printing press. In 1855 the English musician William Cummings fitted the two together to make the hymn we know. Mendelssohn himself reportedly felt the melody would not suit sacred words. It opens boldly like a trumpet call, and the refrain proclaims the first line again.