Marc-Antoine Charpentier composed his grand polyphonic motet Te Deum (H. 146) in D major probably between 1688 and 1698, during his stay at the Jesuit Church of Saint-Louis in Paris, where he held the position of musical director. The work is written for the group of soloists, choir, and instrumental accompaniment.
N.B. I made a version for in D for C-trumpet and C (transposed) for Bb-trumpet.
Here a link to my Trumpet & Organ sheet music folder