Olañeta continued a quixotic war until Sucre's forces defeated his forces, and he was killed by his own men on April 1, 1825, in a battle that effectively ended Spanish rule in Upper Peru.
Olañeta fortsatte att strida tills Sucres styrkor besegrade hans styrkor och han dödades av sina egna män 1 april 1825 i ett slag som definitivt avslutade det spanska styret i Övre Peru.