In exchange for making the railroad, Costa Rican gave Keith large amounts of land and a lease on the train route, which he used to produce bananas and export them to the United States. As a result, bananas became the largest export. The United Fruit Company began to hold a major role in the national economy.