In October 1864, he went to Kyoto and applied for the position of members of the Shinsen-gumi masterless warriors' party with ITO and succeeded in getting the position.
元治元年（1864年）10月、伊東らと新選組の隊士募集に応じて上洛し、入隊。