IMMIGRATION ACT OF 1882
The Immigration Act of 1882 was a United States federal law signed by President Chester A. Arthur on August 3, 1882. It imposed a head tax on non-citizens of the United States who came to American ports and restricted certain classes of people from immigrating to America, including criminals, the insane, or "any person unable to take care of him or herself."
https://en.wikipedia.org/wiki/Immigration_Act_of_1882