Answer:
The Chinese Exclusion Act was passed in 1882 due to concerns about Chinese immigrants taking jobs from American workers, especially during times of economic hardship. There was also a prevailing anti-Chinese sentiment and racism that fueled the discriminatory legislation. The act restricted Chinese immigration and barred Chinese laborers from entering the United States. It was the first significant law restricting immigration based on nationality.