Beethoven wanted to become famous as a pianist and composer, so he started to get to know important, aristocratic people. Some of these people had already heard him in Bonn when they had traveled there, so his name was becoming known in Vienna. It also helped that he could say he was the pupil of the famous Joseph Haydn. There were a lot of aristocratic people in Vienna who liked music, and many had their own private orchestras. Some of them started to give Beethoven places to live when the Elector of Bonn stopped sending him money in 1794. Beethoven started to perform in private houses, and he became known for his improvisations. In 1795 he performed one of his piano concertos at a concert. He also had his first publication (his opus 1). This was a group of three Piano Trios. Haydn had heard them at a private concert a year before and had advised Beethoven not to publish the third one. However, he did publish it, and that was the one which became the most successful. His opus 2 was a group of three piano sonatas which he played at the court of his friend Prince Lichnowsky. When he published them, he dedicated them to Haydn.