Immigrants came to the United States in the late 19th and early 20th centuries for several reasons, including escaping religious persecution, rising populations in Europe, and lack of work. They came from many regions, including Southern and Eastern Europe arriving on the East Coast, and China and Japan arriving on the West Coast. The journey was difficult, with immigrants traveling in cramped cargo holds of ships and facing harsh conditions at processing stations like Ellis Island and Angel Island. While most immigrants were allowed to enter, some faced discrimination and nativist opposition from groups that favored Anglo-Saxons and objected to certain religious and ethnic groups. This led to the passage of restrictive immigration laws like the Chinese Exclusion Act.