 Coffee production remained Costa Rica's principal source of wealth well into the 20th century, creating a wealthy class of growers, the so-called Coffee Barons.The revenue helped to modernize the country.Most of the coffee exported was grown around the main centers of population in the Central Plateau and then transported by oxcart to the Pacific port of Puntarenas after the main road was built in 1846.