Charpentier wrote four of them, including one in D major which was probably written to commemorate the battle of Steinkerque, while Michael Haydn wrote six.  
One of them was written by Carl Heinrich Graun to commemorate Frederick the Great's victory at the Battle of Prague.  Another was written by Zoltan Kodaly (koh-dye) to commemorate the 250th anniversary of the relief of Buda from the Turks.  Charpentier wrote four of them, including one in D major which was probably written to commemorate the battle of Steinkerque, while Michael Haydn wrote six.  Bruckner originally intended his to be the final movement of his Ninth Symphony, while William Walton's was written for the coronation of Elizabeth II.  The last verse of Arthur Sullivan's originally began "O Lord, save the Queen," but the previous verse can be repeated for other occasions.  Berlioz intended for his version, scored for three choruses, organ, and orchestra, to be performed in a cathedral. FTP, name this musical setting of a hymn often attributed to St. Ambrose, which is sung on celebratory occasions and whose first part praises God the father.
One of them was written by Carl Heinrich Graun to commemorate Frederick the Great's victory at the Battle of Prague.  
Te Deum