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
First Upper Peru campaign to Vieytes, Rodriguez Peña, Larrea and Azcuénaga, asking them to move to the Upper Peru. After the defeat of Goyeneche, they would march back to Buenos Aires. However, the mail was sent by the common postal service, and the postmaster of Córdoba, Jose de Paz, decided to send it instead to Cornelio Saavedra. Besides, the morenist members of the Junta had already been ousted and exiled by that point. The order of the Junta not to proceed to the Viceroyalty of Peru was a de facto truce that would last while not attacking Goyeneche. Castelli tried to turn the situation