In 1692, he was invited by Mitsukuni TOKUGAWA, the lord of the Mito Domain, to work for the compilation of the "Dainihonshi" (The Great History of Japan) with Kanran MIYAKE and Tanpaku ASAKA.
1692年に水戸藩藩主徳川光圀に招かれ、三宅観瀾・安積澹泊らと共に、『大日本史』の編集に従事した。