Mozart and Haydn
Mozart's Vesperae solennes de confessore (Solemn Vespers for a Confessor), K 339, is a sacred choral composition written in 1780; for performance in Salzburg Cathedral.
Haydn's Missa in angustiis (Mass for troubled times or "Nelson" Mass) was written in 1798, in the midst of the Napoleonic Wars.