When he was young, he learned at Atsutane HIRATA, a scholar of Japanese classical literature, and was recognized by Nariakira SHIMAZU, the lord of Satsuma Domain and appointed a county accounting officer.
若くして国学者・平田篤胤の門下となり、藩主島津斉彬に認められて勘定所郡方に任じられた。