Born in 1619 into a family of acupuncturists in Kyoto. As a child he entered Hieizan and Myoshin-ji to study Zen, but then became the pupil of the Zhu Xi scholar Tani Jichu in Tosa and turned to Confucianism. In 1655 he returned to Kyoto and opened a private school. Known as a stern Zhu Xi scholar, he is said to have had as many as 6,000 disciples. Among his representative pupils were Asami Keisai, Sato Naokata, and Miyake Shosai — called the 'three heroes of the Kimon school' — who formed the 'Kimon school' or 'Ansai school,' holding fast to strict Zhu Xi dogmatism. In his later years, in 1665, he received the secret teachings of Shinto from Yoshikawa Koretari and founded 'Suika Shinto,' fusing Zhu Xi learning with Shinto. He developed a distinctive theological system that identified Amaterasu Omikami with the Confucian 'principle' (ri), becoming one of the sources of revere-the-emperor thought. He wrote 'Bunkai Hitsuroku,' 'Suikao Shinsetsu,' and other works. He died in 1682 at age 64.