 Soon after, his forces overcame the indigenous people.He incorporated the territory into the Captaincy General of Guatemala as a province of New Spain in 1524.For the next 300 years, Costa Rica was a colony of Spain.