The history of Chinese Americans or the history of ethnic Chinese in the United States includes three major waves of Chinese immigration to the United States, beginning in the 19th century. Chinese immigrants in the 19th century worked as laborers, particularly on transcontinental railroads such as the Central Pacific Railroad. They came not only for the gold rush in California, but were also hired to help build the First Transcontinental Railroad. They also worked as laborers in mining, and suffered racial discrimination at every level of society. Industrial employers were eager for this new and cheap labor. This resulted in many white people losing their jobs and were stirred to anger by the "yellow peril." Despite provisions for equal treatment of Chinese immigrants in the 1868 Burlingame Treaty, political and labor organizations rallied against immigrants of what they regarded as a degraded race and "cheap Chinese labor."