At the time of the Meiji restoration in 1868, he was appointed to judge of foreign affairs, which was a position of Choshi sanyo (a councilor of the feudal retainer of the domain at government post).
明治維新に際しては明治元年（1868年）、徴士参与職、外国事務局判事に任ぜられた。