 In 1871, construction was started on a railroad from Alajuela to Puerto Limón, via San José, on the Caribbean coast; the project was initiated by the government of General Tomás Guardia Gutiérrez and was surveyed in 1868 by the British civil engineer Edmund Wragge.The railroad from Alajuela to San José was completed by the beginning of 1873 and later continued until Cartago.Materials and equipment were brought into Alajuela from Puntarenas by oxen-powered carts.