In 1868 (the first year of the Meiji period), he was appointed to Jingikan Hanji (judge of the department of worship) and Jiko (teacher) of Emperor Meiji; later he became Daigaku Daihakusi (senior doctor of college), then finally became Daikyosei (the highest-ranking post of the department of worship).
明治元年、神祇官判事に任じられ、明治天皇の侍講となり、ついで大學大博士に進み、大教正となる。