Piano Sonata No. 16 (Mozart)
The second movement is in the key of G major, the dominant key of C major. The music modulates to the dominant key of D major, and then back to G major in which the exposition is heard again. For the development, the music modulates to G minor, then B♭ major, then C minor, then G minor and finally back to G major, at which point the recapitulation occurs followed by a short coda.