Answer: Much of the growth can be attributed to the building of the transcontinental railroads. In 1862, Congress passed the Pacific Railway Act, which authorized the construction of a transcontinental railroad. The first such railroad was completed on May 10, 1869.