Hostility and racial prejudice against the Chinese immigrants was fueled by the competition for scarce work opportunities.
The Chinese were willing to work hard at lower wages, and resentment from whites eventually turned into violence and riots
against Chinese immigrants as well as to the 1882 Chinese Exclusion Act to limit futher immigration.