Mexico has a freight railway system owned by the national government and operated by various entities under concessions (charters) granted by the national government. The railway system provides freight and passenger service throughout the country (the majority of the service is freight-oriented), connecting major industrial centers with ports and with rail connections at the United States border. Passenger rail services were limited to a number of tourist trains between 1997, when Ferrocarriles Nacionales de México suspended service, and 2008, when Ferrocarril Suburbano de la Zona Metropolitana de México inaugurated Mexico's first commuter rail service between Mexico City and the State of Mexico. This is not including the Mexico City Metro, which started service in 1969.
Mexico's rail history began in 1837, with the granting of a concession for a railroad to be built between Veracruz, on the Gulf of Mexico, and Mexico City. However, no railroad was built under that concession.
In 1857, Don Antonio Escandón secured the right to build a line from the port of Veracruz to Mexico City and on to the Pacific Ocean. Revolution and political instability stifled progress on the financing or construction of the line until 1864, when, under the regime of Emperor Maximilian, the Imperial Mexican Railway Company began construction of the line. Political upheaval continued to stifle progress, and the initial segment from Veracruz to Mexico City was inaugurated nine years later on January 1, 1873 by President Sebastián Lerdo de Tejada.
President Lerdo and his successor Porfirio Díaz encouraged further rail development through generous concessions that included government subsidies for construction. At the beginning of his first term Díaz inherited 398 miles (640.5 km) of railroads consisting almost exclusively of the British-owned Mexican Railway. By the end of his second term in 1910, Mexico boasted 15,360 miles (24,719.5 km) of in-service track, mostly built by American, British and French investors.