President of Peru Martín), and "Supreme Protector" (by Andrés de Santa Cruz). The following table contains a list of the individuals who have served as President of Peru. The Protectorate of Peru existed from August 3, 1821 until September 20, 1822. The Republic of Peru was declared on July 28, 1821 but it was constituted on September 20, 1822. It existed until August 11, 1836. In 1836, the south of the country declared itself independent by creating the Republic of South Peru, while the north of the country became the Republic of North Peru. The two states confederated with the Republic of Bolivia
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