1871-1877 In 1871, Keith's uncle Henry Meiggs had signed a contract with the government of Costa Rican president Tomás Guardia Gutiérrez for the construction of a railroad from the capital city of San José to what was to become the Caribbean port of Limón. Minor Keith was involved in the project from the start and took it over after Meiggs's death in 1877.