Peru–Bolivian Confederation Felipe Salaverry, who rebelled and overthrew him in 1835. Orbegoso, however, did not lose the support of southern Peru and called in to his help the president of Bolivia. It was the opportunity that Marshal Santa Cruz, himself a former president of Peru, was waiting for. The Bolivian army promptly proceeded to invade Peru. With Bolivian help, General Orbegoso quickly regained his leadership throughout the country and had Salaverry executed. As a reward for the support he had received from Santa Cruz, he agreed to the formation of the new Peru–Bolivian Confederation. Santa Cruz assumed the "supreme protectorship" of the
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