HistoryData
war1823

1823 civil war in Costa Rica

January 1, 1823

Costa Rica's first civil war determined its capital city and its political alignment as an independent republic rather than part of the Mexican Empire.

Quick Facts

Year
1823
Category
war

Key Facts

Key battle date
5 April 1823
Battle site
Ochomogo Hill, west of Cartago
Republican commander
Gregorio José Ramírez
Colonial capital defeated
Cartago
New capital established
San José
Subsequent political union
Federal Republic of Central America

Location

Map of Ochomogo, Costa RicaMap of Ochomogo, Costa RicaOchomogo, Costa Rica

Cause → Event → Consequence

Cause

Following Costa Rica's independence from Spain, a political divide emerged between republican factions based in San José and Alajuela and conservative forces in Cartago, the colonial capital, who favored annexation into the newly proclaimed Mexican Empire under Agustín de Iturbide.

Event

Republican militia from San José and Alajuela, commanded by Gregorio José Ramírez, engaged conservative Cartago forces at the Battle of Ochomogo on 5 April 1823. The battle took place on Ochomogo Hill west of Cartago and resulted in a decisive republican victory, ending Costa Rica's first internal armed conflict.

Consequence

Following their victory, the republicans transferred the national capital from Cartago to San José. Costa Rica remained independent and chose to join the Federal Republic of Central America rather than the Mexican Empire, shaping the country's subsequent political identity and institutions.

Belligerents & Mobilization Analysis

Side A

1 belligerent

Republican militia of San José and Alajuela
Key Commanders

Gregorio José Ramírez.

Side B

1 belligerent

Conservative forces of Cartago (pro-Mexican Empire)
Outcome
Republican victory; San José became capital; Costa Rica remained independent within the Federal Republic of Central America

Timeline Context

Timeline around 182318231820182118221824182518261823 battle during the Peruvian War of Independence1823 battle of the Peruvian War of Independence1823 Sikh–Afghani battle1823 battle in Costa Rica1823 naval battle during the Brazilian War of Independence1823 America's independence naval battle1823 and 1847 treaties that settled boundary disputes between the Ottoman Empire and Persia1823 war between the US and Arikara nativesochomogo-war-1823