 The sonata was published a year later and revised in 1887.The work was Grieg's only piano sonata and it was dedicated to the Danish composer Niels Gade.The sonata has four movements with the following tempo markings