Brahms composed the first two movements during the summer of 1862, as well as an Adagio which was later deleted. The final movement was composed in 1865. The sonata is entitled ""Sonate für Klavier und Violoncello"" (for piano and cello) and the piano "should be a partner - often a leading, often a watchful and considerate partner - but it should under no circumstances assume a purely accompanying role". It is dedicated to Josef Gänsbacher, a singing professor and amateur cellist. In the course of a private performance for an audience of friends, Brahms played so loudly that the worthy Gänsbacher complained that he could not hear his cello at all - "Lucky for you, too", growled Brahms, and let the piano rage on.