He went up to Mt. Hiei to become a priest and receive the commandments of Buddhism with having Ningo, who was the head priest of the Tendai sect, as his teacher, and then he learned the Exoteric Buddhism and the Esoteric Buddhism from Ninjitsu, who was a sojo (a high-ranking Buddhist priest).
比叡山に上り、天台座主仁豪に師事して出家・受戒し、仁実僧正から顕教・密教を学んだ。