In October 1856, when he was 17 years old, he met the 22-year-old Alexander Borodin. They were both working in a military hospital in Saint Petersburg. The two men were soon good friends. He also met Alexander Dargomyzhsky who was then the most important Russian composer after Mikhail Glinka. Dargomyzhsky liked Mussorgsky's piano playing, and Mussorgsky often went to musical parties at Dargomyzhsky’s home. Here he met many other important Russian musicians: the critic Vladimir Stasov and the composers César Cui and Mily Balakirev. He had a very special relationship with Balakirev who was like a teacher to him and gave him a lot of advice and encouragement, introducing him to a lot of music he did not yet know. In 1858 Mussorgsky decided to give up his job and spend all his time on music.