The rail companies were in a hurry to complete track laying in the mid-1860s because they wanted to connect the Union to California which was experiencing rapid growth which was largely due to the California Gold Rush which had seen many people move to California. This made California an important part of the United States