The first Chinese immigrants arrived in Canada in the mid-1800s searching for gold and a better life. They found jobs in forestry, mining, and other resource industries. But life in Canada was difficult and the immigrants had to face racism and cultural barriers. Thousands were recruited to work building the Canadian Pacific Railway. Once the railway was finished, Canadian governments and many Canadians wanted the Chinese to go away. The government took measures to stop immigration from China to Canada.