After independence, the governors were interested in populating territories with white people workers, preferably brought from Europe, banana cultivation was attracting a lot of capital and labor for the construction of the railway to the Atlantic.
In the early twentieth century many Spaniards used Costa Rica as a bridge to move to Panama attracted by the construction of the Canal.
This colony, located in San Jose (Costa Rica) came to consist mainly of Catalan, followed by Gallegos, Asturian and Castilian.
According to a genetic study called "Geographic Patterns of Genome Admixture in Latin American Mestizos" the most comprehensive study of mestizo populations of Latin America and published in 2008 in the journal PLoS Genetics, and in which participated the School of Biology, University of Costa Rica, the average resident of the Central Valley of Costa Rica has 65% of European genes (42.5% Spaniards), 30% native and 5% African population.
[6] In total the Spaniards contributed very largely on the genetics of Costa Ricans, being the Spanish and mestizo place greater weight in the nation (90%), other European (7%), Chinese, blacks and Arabs (2%) and communities Indians (1%).