Chile–Peru relations forces as the Confederate forces began to split on opinions and the commanding skills of Manuel Bulnes Prieto proved superior to Santa Cruz, who was killed during the battle. Following this, Peru was once again unified, and Agustin Gamarra attempted to lead an invasion to Bolivia. The attack utterly failed, Gamarra was killed, and Peru and Bolivia entered into another war. Bolivia would once again invade Peru but, without Gamarra, Ramon Castilla became the most prominent military figure of Peru and troops were soon dispatched for the defensive. The success in this defense resulted in Peruvian victories that returned both
First Upper Peru campaign bulk of the royalist forces, while the center was hit by the soldiers of Pio Tristan. Many patriotic soldiers recruited at the Upper Peru surrendered or fled, and many of the recruits in La Paz switched sides during the battle. The Saavedrist Juan José Viamonte was instrumental in the defeat, by refusing to join the conflict. Although the casualties of the Army of the North were not substantial, it was left desmoralized and disbanded. The inhabitants of Upper Peru left them and welcomed the royalists back, so the army had to quickly leave those provinces. However, the resistance of Cochabamba