In 1862 Congress passed the Pacific Railroad Acts which designated the 32nd parallel as the initial transcontinental route and gave huge grants of lands for rights-of-way. The legislation authorized two railroad companies, the Union Pacific and the Central Pacific, to construct the lines.