Answer :
In 1862, Congress passed the Pacific Railway Act, which authorized the construction of a transcontinental railroad. ... Four of the five transcontinental railroads were built with assistance from the federal government through land grants