He joined the Shinsengumi in 1867, and after he was defeated in the Battle of Toba Fushimi and the Battle of Koshu-Katsunuma during the Boshin War, he went to Aizu via Nagareyama.
慶応3年（1867年）に新選組に入隊し、戊辰戦争では鳥羽伏見の戦い、甲州勝沼の戦いに敗退後、流山を経て会津へ向かう。