Carl Philipp Emanuel Bach composed his Sonata for Violin and Keyboard, H, 542.5, in 1734. Until recently, this piece was believed to be the work of Johann Sebastian Bach, Carl Philipp Emanuel's father, and was catalogued as BWV 1020. The Sonata is in three movements, in the key of G minor, and was first published in 1860.