As HAJI fought for Prince Otomo (Emperor Kobun) in the Jinshin War which broke out in 672, he was defeated and captured at Yasukawa no Hama in Omi Province (coast side of Omi province) in August 14, 672.
天武天皇元年（672年）の壬申の乱で大友皇子（弘文天皇）側につき、7月13日に近江国の安河の浜で敗れて捕らえられた。