Throughout this period, groups such as the Immigration Restriction League and the American Party organized around ideas of racial purity, cultural superiority, and religious prejudice to demand an end to open immigration. This was finally achieved in 1924 with the passage of the National Origins Act, which established nationality-based immigration quotas for the first time. To enforce these quotas, Congress created the US Border Patrol.

