Between 1865 and 1898, the United States experienced a significant influx of immigrants, particularly from Southern and Eastern Europe. This period was characterized by rapid industrialization and urbanization, which created a demand for labor in factories and cities. As immigrant populations grew, so did nativist sentiment, leading to increased tensions between native-born Americans and newcomers. One legislative response to immigration during this period was the enactment of specific laws aimed at restricting certain groups. Which of the following legislative actions reflects the nativist attitudes of this era?