Legislation Targeting Chinese Immigrants The head tax followed the building and completion of the Canadian Pacific Railway (1881-85), which brought Chinese workers to Canada. These workers were needed as a labour force but not deemed desirable as citizens because of their country of origin.