Wolfgang Amadeus Mozart wrote his Violin Sonata no. 23 in D in 1778 in Paris, and it was published that same year. It has been catalogued as K. 306, K'. 300L, and number 5 from his Op. 1 (as it was when published). The play was dedicated to Electress Maria Elisabeth, and thus that set of works is known as the Palatine Sonatas. The whole work lasts about 24 minutes.