query: When did Beethoven compose his 9th symphony?
passage: Symphony No. 9 (Beethoven)
The Symphony No. 9 in D minor, Op. 125, is the final complete symphony by Ludwig van Beethoven, composed between 1822 and 1824. It was first performed in Vienna on 7 May 1824. One of the best-known works in common practice music,[1] it is regarded by many critics and musicologists as one of Beethoven's greatest works and one of the supreme achievements in the history of western music.[1][2] In the 2010s, it stands as one of the most performed symphonies in the world.[3][4]
passage: Piano Sonata No. 9 (Beethoven)
The Piano Sonata No. 9 in E major, Op. 14, No. 1, is an early-period work by Ludwig van Beethoven, dedicated to Baroness Josefa von Braun, one of his patrons at that time. It was composed in 1798 and arranged for string quartet by the composer in 1801 (Hess 34), the result containing more quartet-like passagework and in the more comfortable key of F major.