After visiting Europe, he became a Sanyo (junior councilor) of foreign affairs office under the new Meiji government in 1868, and he worked at Osaka to serve as Assistant Judicial Officer of foreign affairs office and Osaka prefectural judge and handled diplomatic issues including Sakai incident.
欧州視察後､明治元年（1868年）に明治新政府の参与職外国事務掛となり、外国官権判事、大阪府権判事兼任として大阪に赴任し、堺事件などの外交処理にあたった。