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 richest cities of Upper Peru, an open cabildo calls Goyeneche to withdraw from their territory, which he obeys as he did not have military strength to prevail. The Bishop of La Paz, Remigio La Santa y Ortega, flees with him. Castelli is received in Potosí, where he required an oath of allegiance to the Junta and the surrender of the royalist generals Francisco de Paula Sanz and José de Córdoba y Rojas. He arranged that the operation to capture Vicente Nieto was carried out exclusively by the surviving patricians at the mines of Potosi, who had been incorporated with honors