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
Peru the early 1900s. Internal struggles after the war were followed by a period of stability under the Civilista Party, which lasted until the onset of the authoritarian regime of Augusto B. Leguía. The Great Depression caused the downfall of Leguía, renewed political turmoil, and the emergence of the American Popular Revolutionary Alliance (APRA). The rivalry between this organization and a coalition of the elite and the military defined Peruvian politics for the following three decades. A final peace treaty in 1929, signed between Peru and Chile called the Treaty of Lima, returned Tacna to Peru. Between 1932 and 1933, Peru