In 1657 he set up Shikyoku (the Office of Historiography) at his residence in Komagome, and started to compile "the Dainihonshi," which is a general history of Japan written in the style of a biographical history.
明暦3年（1657年）、駒込邸に史局を設置し、紀伝体の歴史書である『大日本史』の編纂作業に着手する。