These controls were placed on Chinese immigration precisely because of the deep disquiet so many indigenous Americans began to feel towards them, especially in California, after the end of the gold rush and of the completion of the Union Pacific Railroad, which was precisely on account of their willingness to work for so much less than Americans.