Hummel wrote his 'Concerto a Trombe Principale' (Trumpet Concerto in E Major) for Viennese trumpet virtuoso and inventor of the keyed trumpet, Anton Weidinger (as had Joseph Haydn). It was written in December 1803 and performed on New Year's Day 1804 to mark Hummel's entrance into the 'Esterházy Court orchestra' as Haydn's successor. There are places, primarily in the second movement, where Weidinger is believed to have changed the music because of the execution of the instrument. It is unknown whether this was in agreement with Hummel. Originally this piece was written in E major. The piece is often performed in E-flat major, which makes the fingering less difficult on modern E-flat and B-flat trumpets.