# Zaldívar Installed After Guatemalan Invasion (1876)

URL: https://allhistories.com/countries/el-salvador/timeline/1876-zaldivar-installed-after-guatemalan-invasion
Location: San Salvador, El Salvador
Themes: main-event

After taking office in Guatemala in 1873 Justo Rufino Barrios pursued the aim of influencing his neighbours' governments. In 1876 Santiago González had left the presidency to his ally Andrés del Valle, taking the posts of vice president and commander-in-chief. When del Valle and González refused to support Barrios's invasion of Honduras, he turned on them. In April 1876 Guatemalan troops invaded El Salvador. After about two weeks of fighting del Valle and González surrendered and resigned. Francisco Menéndez, then a general, recaptured Apaneca during the invasion. Barrios assembled a Junta of Notables to choose the next president; the two leading candidates were General Indalecio Miranda and the physician Rafael Zaldívar, who had been living in exile in Costa Rica, and Zaldívar prevailed with the backing of the Costa Rican president Tomás Guardia. He took office as provisional president on 1 May 1876 and signed a peace treaty with Guatemala on 11 May. Zaldívar, a 'pragmatic' liberal, governed for nearly nine years, until 1885, the longest presidency in Salvadoran history until Maximiliano Hernández Martínez. He survived coup attempts in 1877, 1879 and 1883, and under him the coffee economy was consolidated and the land laws of 1881–1882 were enacted. His dependence on Guatemala eventually drew hostility from rival 'idealist' liberals such as Menéndez. At this point in the timeline (April–May 1876), the President of El Salvador was Andrés del Valle (1 February 1876 – 1 May 1876).

## Why it matters
Guatemalan intervention put a physician in the presidency and began the coffee-state regime of the 1880s.

Ruler at the Time: [Andrés del Valle](https://allhistories.com/countries/el-salvador/rulers/andres-del-valle)

## Sources
- [Wikipedia — Rafael Zaldívar](https://en.wikipedia.org/wiki/Rafael_Zaldívar)
- [Wikipedia — Coffee Republic (period overview)](https://en.wikipedia.org/wiki/History_of_El_Salvador)

