Joseph Haydn, who was in London at the same time as young Hummel, composed a sonata in A-flat major for Hummel, who gave its first performance in the Hanover Square Rooms in Haydn's presence. When Hummel finished, Haydn reportedly thanked the young man and gave him a guinea.