History of Peru (1841–1845)

Peruvian Republic
República Peruana
1841–1845
Motto: 
"Firme y feliz por la unión" (Spanish)
"Firm and Happy for the Union"
Anthem: 
"Himno Nacional del Perú" (Spanish)
"National Anthem of Peru"
CapitalLima
Common languagesSpanish
Religion
Roman Catholicism
Demonym(s)Peruvian
GovernmentUnitary presidential republic
President 
 1841–1842
Manuel Menéndez
 1842
Juan C. Torrico
 1842–1843
Juan F. de Vidal
 1843
Justo Figuerola
 1843–1844
Manuel I. de Vivanco
 1844–1845
Manuel Menéndez
LegislatureNational Congress
Historical eraFirst Militarism
1 October 1841
18 November 1841
7 June 1842
16 August 1842
17 May 1843
22 July 1844
20 April 1845
CurrencyReal
Preceded by
Succeeded by
Peru
Peru

The name of Military Anarchy (Spanish: Anarquía militar) is given to the period of the republican history of Peru following the death of President Agustín Gamarra during his failed invasion of Bolivia on November 18, 1841. It was a period of chaos and political and social upheaval, where no government was consolidated.

After Gamarra's death, he was succeeded by Manuel Menéndez as constitutional president, although a number of uprisings in different parts of the country challenged his authority, leading to civil war on May 17, 1843. It ended in 1845, when Ramón Castilla was elected President of the Republic after defeating Manuel Ignacio de Vivanco.