After the Restoration of Imperial Rule, in January, 1868, he joined the Meiji government by working as sanyo (Councilor), gijo (regislator) and the Ministerial Governor of Internal Affairs concurrently, and became the captain of the Internal Affairs Secretariat in February.
王政復古の後、1868年（慶応4年）1月に明治政府の参与・議定として内国事務総督を兼ね、2月には内国事務局督。