Frédéric Chopin composed his Piano Sonata No. 3 in B minor, Op. 58, in 1844 and dedicated it to Countess Emilie de Perthuis. As his last sonata for solo piano, it has been suggested[by whom?] that this was his attempt to address the criticisms of his earlier sonata Op. 35.The scherzo was published in 1843. Unlike the preceding three scherzi (Op. 20, Op. 31, Op. 39), the E-major is generally calmer in temperament. The scherzo is in sonata rondo form, moving to a trio in C-sharp minor, based on a Polish folk song.