As a matter of fact, the line through to the coast was finished earlier than had been predicted. One fact which increased the rapidity of construction was the growing financial difficulty of the company. It was absolutely imperative that the through line be completed in order that the resulting business might make the operation of trains pay. But aside from this, another influence was at work to encourage rapid construction. The Act of 1862 provided that the Central Pacific might also build across Nevada to meet the Union Pacific, on condition that it completed its own allotted section first. As the Central Pacific also was receiving a heavy government subsidy per mile, and as there was great profit in construction undertaken with this government subsidy, there was naturally a strong incentive for both companies to build all the mileage possible and as rapidly as possible.

The Central Pacific enterprise was backed by a group of men who were awake to the possibilities of the situation and who had made large fortunes in the gold-mining boom of previous years, such as Leland Stanford, Collis P. Huntington, Mark Hopkins, and the Crockers. The rivalry between them and the Union Pacific interests woke the whole continent and formed a chapter in American railroad history as startling and romantic as anything in the stories of the Vanderbilts and Goulds with their financial gymnastics.

As the contest proceeded, public interest increased and the entire country watched to see which company would win the big government subsidies through the mountains. Through the winter of 1868 the work continued on the Union Pacific with unabated energy, and freezing weather caught the builders at the base of the Wasatch Mountains; but blizzards could not stop them. The workmen laid tracks across the Wasatch on a bed of snow and ice, and one of the track-laying trains slid bodily, track and all, off the ice into a stream. The two companies had over twenty thousand men at work that winter. Suddenly the Central Pacific surprised the Eastern builders by filing a map and plans for building as far as Echo, some distance east of Ogden. The Union Pacific forces, however, were equal to the occasion. At first, one mile a day had been considered rapid construction, but now, even with the limited daylight of the winter months, they were laying over two miles a day, and they finally crowned their efforts by laying in one day between sunrise and sunset nearly eight miles of track.

In the meantime the Central Pacific also had stopped at nothing. The company had a dozen tunnels to build but did not wait to finish them. Supplies were hauled over the Sierras, and the work was pushed ahead regardless of expense. On May 10, 1869, the junction was formed, the opposing track layers meeting at Promontory Point, five miles west of Ogden, Utah. Spikes of gold and silver were driven into the joining tracks, and the through line from the Missouri River to the Pacific Ocean had been completed; the first engine from the Pacific coast faced the first engine from the Atlantic. The whole country, from President Grant in the White House to the newsboy who sold extras, celebrated this achievement. Chicago held a parade several miles long; in New York City the chimes of Trinity were rung; and in Philadelphia the old Liberty Bell in Independence Hall was tolled again.

The cost of the Union Pacific Railroad from Omaha to its junction with the Central Pacific formed a subject of controversy for a generation. The saving of six months of the allotted time for completing the road no doubt increased its cost to the builders, for at times they borrowed money in the East at rates as high as 18 and 19 per cent. Besides, in pushing the line far beyond the bounds of civilization without waiting for the slower pace of the settler and the security which his protection afforded, it often became necessary for half the total number of workmen to stand guard and thus reduce the working capacity of the construction force. Even so, hundreds were killed by the Indians. Governmental restrictions of various kinds also increased the cost of the road. For example, the stipulation that only American iron should be used increased the cost by at least ten dollars for every ton of rail laid. The requirement that a cut should be made through each rise in the Laramie plains, thus giving the track a dead level instead of conforming to the natural roll of the country, ultimately resulted in a waste of from five to ten million dollars. Extraordinary costs such as these, combined with the extravagant methods of construction and financing, brought the total cost of the property up to what was in those days a fabulous sum of money. The records indicate that the profits which accrued through the Credit Mobilier and in other ways in the construction up to the time of the opening in 1869 exceeded fifty millions of dollars.

While the Union Pacific was being built, from 1862 to 1869, other railroads were not idle, and many were rapidly reaching out into the Central West. Not only had the Chicago and North Western reached Omaha and made connection with the Union Pacific, but the Kansas Pacific had penetrated as far west as Denver and had joined the Union Pacific at Cheyenne.

The close relationship between railroad expansion and the general development and prosperity of the country is nowhere brought more distinctly into relief than in connection with the construction of the Pacific railroads. With the opening of a transcontinental line the vast El Dorado of the West was laid practically at the doorstep of Eastern capital. Not only did American pioneers turn definitely toward the West, but foreign emigrants bent their steps in vast numbers in that direction, and capital in steadily increasing amounts made its way there. Towns sprang up everywhere and soon developed into busy centers of trade and commerce. Caravan trains, which a few years before had followed a single westward line, now started from points along the railroad artery and penetrated far to the north and south. The settlers knew that the time was not far distant when all the vast territory west of the Missouri, from the Canadian border to the Rio Grande, would be reached by the rapid spread of the railroad. In the sixties and seventies there sprang up and rapidly developed in size and importance such centers as Kansas City, Sioux City, Denver, Salt Lake City, Cheyenne, Atchison, Topeka, Helena, Portland, Seattle, Duluth, St. Paul, Minneapolis, and scores of smaller places. The entire Pacific slope was soon dotted with towns and cities, and even the great arid plains of the West—as well as the "Great American Desert" covering Utah, Arizona, New Mexico, and parts of Nevada—began to take on signs of life which had not been dreamed of a decade before.

But the development of this great section of the country during the next few years was even more notable. By 1880 four different lines of railroad were running through to the Pacific States, and a fifth, the Denver and Rio Grande, had penetrated through the mountains of Colorado and across Utah to the Great Salt Lake. These were the years when the modern industrial era was really beginning. Man's viewpoint was changing, and instead of remaining content with the material achievements of the Atlantic and Central sections of the continent, he began to realize that the vast Western regions and the thousand miles of Pacific coast line were destined to be America's inexhaustible patrimony for the years to come.

In 1880 the Union Pacific began its expansion to the eastward and acquired control of the Kansas Pacific, which had come upon evil days, and of the Denver Pacific, a most important connecting link. In January, 1880, these two companies were absorbed by the Union Pacific, which thus obtained a continuous line from St. Louis westward. In the meantime the Central Pacific, operating from Ogden west to the coast, had added many branches, while a new company—known as the Southern Pacific Railroad of California—had for some years been constructing a system of lines throughout that State south of the Central Pacific and by 1877 had penetrated to Yuma, Arizona, 727 miles southeast of San Francisco. It had also built lines into Arizona and New Mexico and soon joined the Santa Fe route, which had for some time been working westward.

During 1881 the Southern Pacific continued its eastern extensions along the Rio Grande to El Paso, Texas, where it formed a connection with a new road under construction from New Orleans. A junction was also made at El Paso with the Mexican Central, which was under construction to the City of Mexico. The Southern Pacific Railroad was closely allied with the Central Pacific interests headed by Collis P. Huntington, and in 1884 the great Southern Pacific Company was formed, which acquired stock control of the entire aggregation of railroads in the South and Southwest. At the same time the Central Pacific came under direct control of the Southern Pacific through a long lease.