From 1871 until 1872, Scott served as president of the Union Pacific Railroad. Scott's tenure ended when he sold his part to Jay Gould, who was trying to build his own transcontinental railway system centered around the Erie Railroad. Scott shared this goal and was soon put in a position to realize it.