In 1882, government legislation restricted immigration from __________ based on race.
A. Mexico B. Ireland. C. India. D. China