Among Haydn's other compositions at this period were some clavier sonatas written by him for his pupils. They were the fruits of his study of the first six sonatas of C. Ph. Emanuel Bach, to which he devoted himself untiringly. Haydn said, "I played them constantly and did not rest until I had mastered them all, and those who know my music must also know that I owe very much to Emanuel Bach." In fact Haydn prided himself greatly because he had been once complimented by Bach for his knowledge of that composer's works. One of these sonatas by Haydn had attracted the attention of the Countess Thun, an enthusiastic amateur of music, who expressed a desire to see him. He called on her and surprised her by his youthful appearance and distressed her by the shabbiness of his attire. The evil fortune that always kept him in want during his early years was again accompanied by the good fortune that at every crucial stage of his youthful career brought him into contact with influential friends who assisted him. The Countess questioned him about himself. In response to her inquiries he gave her a straightforward account of his situation, on hearing which she presented him with twenty-five ducats and engaged him to give her lessons on the harpsichord and in singing. His prospects brightened, and as pupils began to increase in number he raised his charge for lessons from two to five florins ($2.50)--a month! An additional piece of good fortune came to him at this stage of his prosperity in the acquaintance of Baron Fürnberg, a rich nobleman and an ardent and talented amateur, to whose house Haydn was invited. Here private concerts were given, and the young composer heard frequent performances of string trios and quartets, such as they were.
On the solicitation of Fürnberg, Haydn composed his first quartet, and seventeen other quartets followed within a year. The Countess Thun still remained a warm friend and used all her influence for his advancement. Fürnberg, who appears to have been very fond of him, was no less eager to push his fortunes. Through these two supporters he was introduced to Count Ferdinand Maximilian Morzin, a Bohemian nobleman, immensely rich and a great lover of music. He had an orchestra of some eighteen performers, which, when necessity demanded, was augmented by servants who were musicians. Through the solicitations of Fürnberg, Morzin appointed Haydn his Musikdirector and Kammercompositor, and in 1759, at the age of twenty-seven, the composer began, what was up to that date, the most important stage of his artistic career, and ended forever his painful and uncertain toil for enough to eat from day to day. For twenty-one years he had struggled in misery, almost hopelessly, but without ever losing wholly his faith in his future, and always buoyed up by his intense love for his art. When he entered on the duties of his new position it is not unreasonable to believe that he looked back on his past, on the childhood days when he was beaten and sent to bed hungry by the stern but well-meaning Frankh; on his days of neglect and cruel insult under Reuter; on his homeless wanderings through the streets of Vienna, on that chill November night, not knowing how to obtain food and shelter; on his humiliating lackey services to Porpora. It was all over now, however, and he was never again to know want for the half century he had yet to live.