The St. Louis–San Francisco Railway was incorporated in Missouri on September 7, 1876. It was formed from the Missouri Division and Central Division of the Atlantic and Pacific Railroad. This land grant line was one of two railroads (the other being the M-K-T) authorized to build across Indian Territory. The Atchison, Topeka and Santa Fe Railroad, interested in the A&P right of way across the Mojave Desert to California, took the road over until the larger road went bankrupt in 1893; the receivers retained the western right of way but divested the ATSF of the St. Louis–San Francisco mileage on the Great Plains. After bankruptcy, the Frisco emerged as the St. Louis and San Francisco Railroad, incorporated on June 29, 1896, which also went bankrupt. On August 24, 1916, the company was reorganized as the St. Louis–San Francisco Railway, though the line never went west of Texas, terminating more than from San Francisco.