The construction of a transcontinental railroad was one of the United States' greatest technological achievements. railroad track had to be laid over 2,000 miles of rugged terrain, including mountains of solid granite. The first spikes were driven in 1863, in the midst of the Civil War.