The Piano Sonata in E major, D 157 is a piano sonata with three movements composed by Franz Schubert in February 1815.[1] The Allegro D 154 is an early version of its first movement.[2]