The territory of Chile it has been populated since at least 12,000 B.C. By the 16th century, Spanish conquistadors began to subdue and colonize the region of present-day Chile, and the territory became a colony between 1540 and 1818, when it gained independence from Spain. The country's economic development was successively marked by the export of first agricultural produce, then saltpeter and later copper.