Millions of immigrants moved to the United States in the late 1800s and early 1900s, going through immigration stations like Ellis Island where government workers and doctors examined and questioned them. While most European immigrants were allowed to enter, laws were passed in the 1880s and 1920s restricting immigration from China and lowering the number of Europeans and Asians allowed. Immigrants faced prejudice but helped the U.S. economy grow through working in industries like railroads, mines, and factories.