Henry Purcell (1659–1695) was the first major composer to write idiomatically for the trumpet as a solo instrument.
Trumpet Tune in D Major (from The Island Princess, 1699) – iconic, celebratory, still a wedding staple.
Later, Bach (Brandenburg Concerto No. 2), Handel, Haydn, Hummel, and Neruda expanded the solo repertoire, but Purcell pioneered it in the late Baroque.