Flag of Peru which joined Bolivia to form the Peru–Bolivian Confederation. The South was formed first, thus adopting a new flag: a red vertical band on the left, with a golden sun and four small stars above (representing Arequipa, Ayacucho, Cuzco and Puno, the four groups of the republic), and the right side divided into an upper green band and a lower white one. The North kept the currency and all ---- of the dissolved Peru, including its flag. The flag of the Peru-Bolivian Confederation showed the coats of arms of Bolivia, South and North Peru, from left to right and slanted at
First Upper Peru campaign authorities. The May Revolution, in Buenos Aires, was more successful, and ousted the viceroy Baltasar Hidalgo de Cisneros. The Primera Junta, which replaced him, prepared a military expedition to Upper Peru to secure the control of the area, while another expedition headed to Paraguay. Before proceeding to Upper Peru, this military campaign defeated a counter revolution in Córdoba, organized by the former viceroy Santiago de Liniers. Ortiz de Ocampo disobeyed orders to execute the prisoners, sending them to Buenos Aires instead. As a result, the Junta appointed Juan José Castelli as commander of the Army of the North instead of