The distances involved were enormous and the railways were the key to opening up the huge plains of the mid-western United States of America, providing access for settlers and for trade. The number of locomotives and railroads multiplied rapidly in the United States after 1830. By the year 1869 the Union Pacific railroad, which linked the east and west coasts of the United States, was finally completed.