Back in 1885, the Canadian government put a $500 headtax on Chinese immigrants entering the country (an amount equivalent to 2 years’ salary), after workers were no longer needed for the railway. This was later replaced with a ban of Chinese immigrants altogether, which wasn’t fully repealed until 1967.
However, the Canadian government has now agreed to compensate descendents of these immigrants.