Costa Rica's path to independence (September 15, 1821) was shaped by a convergence of local and global forces:
Costa Rica was a peripheral, impoverished province of the Captaincy General of Guatemala (New Spain). Isolated, with no gold/silver, it developed a smallholder farming society—unlike plantation/slave economies elsewhere.
Creole intellectuals (Mariano Montealegre, Juan Mora Fernández, José María Castro Madriz) embraced liberal ideals (popular sovereignty, constitutionalism) from Europe/US revolutions. They pushed for self-governance.
Neighbors declared independence first: Mexico (1821), Guatemala (1821), Nicaragua (1821). The Act of Independence of Central America (Sept 15, 1821, in Guatemala City) included Costa Rica—news arrived Oct 13.
French occupation of Spain (1808–1814) shattered imperial authority. Colonies formed juntas; by 1821, Spain could not reconquer.
Trade restrictions, tax burdens, exclusion from office, and Guatemala City's dominance fueled desire for autonomy. Costa Ricans wanted to manage their own coffee/tobacco trade.
Unlike most of Latin America, no war. The Spanish governor, Juan Manuel de Cañas, recognized the inevitable and supported the move. Cartago (then capital) accepted the Guatemalan declaration.
Costa Rica's independence was peaceful, consensual, and rooted in a unique egalitarian colonial society—setting the stage for its exceptional development.