Although the first contracts to build trains in Mexico were signed in the 1830's, it wasn't until the 1870's that railroads finally ran from Mexico City to the major port of Veracruz. Political unrest and lack of capital were the preeminent reasons why railroad development went so slowly.