Charles Villiers Stanford's Violin Sonata No. 1 in D major, Op. 11, was composed in 1877, shortly after the composer completed his studies in Germany. It was one of his first pieces of chamber music, preceded only by his A major cello sonata. First performed the year it was composed, the sonata was published in 1878 by Ries & Erler in Germany, with a dedication to violinist Ludwig Straus.