The continuous lack of investment and failure to modernize by the state-owned railways happened, in part, as the proliferation of roads, bus companies, and air routes burgeoned, putting all but an end to long-distance rail passenger traffic in Mexico.