 In 1877, his counselors suggested that he transfer to the Moscow School of Painting, Sculpture and Architecture, where he studied with Pavel Sorokin, Illarion Pryanishnikov and Vasily Perov, who was his favorite teacher.In 1879, he began to participate in the school's exhibitions.Two years later, he entered the Imperial Academy of Fine Arts, where he worked with Pavel Chistyakov.