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
Flag of Peru on battleships, usually with the ensign of the highest-rank officer on board above it. During the Viceroyalty of Peru, the colonial-era Spanish flag flew over Peru. In 1820, during the struggle for independence, British-born General William Miller hoisted in Tacna the first flag that represented the emerging country. Though the original flag itself is now lost, it was described as navy blue, defaced with a golden sun representing Inti. The first flag of the Republic of Peru was created by General José de San Martín, and officially decreed on 21 October 1820. It is diagonally quartered, with white upper and