During the Boshin War, he became an army surgeon of the Ou (Mutsu Province and Dewa Province) allied troops and was imprisoned for a while after the war, but he was discharged and became a surgeon general with encouragement from Aritomo YAMAGATA and so on.
戊辰戦争では奥羽列藩同盟軍の軍医となり、戦後一時投獄されるが赦免され、山縣有朋などの薦めで軍医総監となる。