The Ochomogo War was a civil war fought in Costa Rica, the first in its history, and was fought shortly after the country became independent from Spain.
The most important event was the Battle of Ochomogo (5 April 1823) which was fought on Ochomogo Hill, from which it takes it name, to the west of Cartago, Costa Rica. Republican militia from San José and Alajuela led by Gregorio José Ramírez defeated conservative forces from Cartago, the colonial capital, who supported making Costa Rica part of the new Mexican Empire. The Republicans won the battle and San José became capital of the country, which remained independent within the Federal Republic of Central America. Following the Republican victory, San José's liberal elites gained greater political influence, while an emerging Costa Rican nationalist project began to develop.
HistoryLayer draws the world as it was in any year from 123,000 BCE to
2026. Move the slider and the borders redraw for that year; the map
carries 23,890 events, 12,790 people, 837 wars and 13,183 cities, each
one readable in place. Signing in is optional and lets you keep what
you find.