The object of this book is the Sonata in A major D.959 by F. Schubert. The composer has been placed in a social, historical and artistic framework. In addition, a journey through the most important and representative works that he composed in 1828, the last year of his life, has been established. Schubert, in this last stage of maturity, manages to transcend his suffering and capture it in beauty. He respects the classical canons of the sonata form and at the same time manages to expand this concept, opening new paths for many later composers. An exploratory analysis has been carried out on the form (from an architectural point of view) and on the motivic elements of the sonata. Both aspects are treated in a way that contributes to the unity and coherence of the work. In Schubert's music, singing is always present, especially the lieder. But, in addition, it will show a clear influence of other genres that also exist in this sonata, such as string quartet, dance, other earlier works for piano and religious music.