Later at the age of twenty-two he became a disciple of Kaitokudo (a school which had a style of Rangaku, and was located in Osaka, Japan during the Tokugawa Era) in Osaka and studied keigaku (study of Keisho in Confucianism) and history under Chikuzan NAKAI and finally became the school manager.
その後22歳で、大坂の懐徳堂に入門し、中井竹山の下で経学や史学を学び、やがて塾頭となった。