Although explored by the Spanish early in the 16th century, initial attempts at colonizing
Costa Rica proved unsuccessful due to a combination of factors, including disease from mosquito-infested swamps, brutal heat, resistance from Indigenous populations, and pirate raids. It was not until 1563 that a permanent settlement of Cartago was established in the cooler, fertile central highlands. The area remained a colony for some two-and-a-half centuries. In 1821,
Costa Rica was one of several Central American provinces that jointly declared independence from
Spain. Two years later it joined the United Provinces of Central America, but this federation disintegrated in 1838, at which time
Costa Rica proclaimed its sovereignty and independence.
Since the late 19th century, only two brief periods of violence have marred the country's democratic development. General Federico TINOCO Granados led a coup in 1917, but the threat of US intervention pushed him to resign in 1919. In 1948, landowner Jose FIGUERES Ferrer raised his own army and rebelled against the government. The brief civil war ended with an agreement to allow FIGUERES to remain in power for 18 months, then step down in favor of the previously elected Otilio ULATE. FIGUERES was later elected twice in his own right, in 1953 and 1970.
Costa Rica experienced destabilizing waves of refugees from Central American civil wars in the 1970s and 1980s, but peace in the region has since helped the economy rebound. Although it still maintains a large agricultural sector,
Costa Rica has expanded its economy to include strong technology and tourism industries.