Ferdinand Ries composed his Cello Sonata in A major, Op. 21 in 1808, along with the C major, Op. 20 sonata while resident in Paris. However it was not until 1810 that the two works were published by Simrock with dedications to the cellist Bernhard Romberg.