In 1682, he became jukan (an official under Confucianism) of the shogunate, and was jiko (a teacher) to Tsunayoshi TOKUGAWA, who was the fifth generation Seii Taishogun/Barbarian Subduing General.
1682年（天和(日本)2年）幕府の儒官となり、5代征夷大将軍徳川綱吉の侍講をつとめた。