In 1882, he was appointed as Gaimu-taifu (a post of Foreign Ministry), and worked under Gaimukyo (chief of Foreign Ministry) Kaoru INOUE on the revision of treaties.
1882年（明治15年）に外務大輔に任命されて帰国、井上馨外務卿の元で条約改正にあたった。