 It is in the key of D major

The serenade was written by Beethoven around 1801, though there are preliminary sketches from 1797 when Beethoven finished his earlier serenade Op.8.The work was definitely finished by late 1801 when Beethoven offered it the publisher G. Cappi.