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
Trujillo, Peru only stable and productive area that could organize and lead the nascent republic. The department encompassed nearly half the country. For the efforts of its people in the war of emancipation, San Martín gave it the title of "Meritorious City Loyal to the Homeland". The municipality of the city, then called a "cabildo", was given the rank of "honorable". In 1823, after the creation of the Republic of Peru, the protectorate of José de San Martín was developed. Before royal troops took the city of Lima, the first President of Peru, Don José de la Riva Agüero, together with Sánchez