Costa Rica is a nation in Central America. The Spanish colonized it in the 1500s and 1600s, and granted it independence in the 1800s. Costa Rica is one of the most affluent and democratic countries of the region. It gave up its military in 1948, the first country to do so. It is a notable ecotourist destination. The capital of Costa Rica is San José.