President Lyndon Johnson signed the sweeping Immigration and Nationality Act of 1965, which ended the discriminatory national-origin quotas but for the first time set a cap on immigration from Western Hemisphere countries, including Mexico. The number of Mexican immigrants allowed to enter the United States each year was smaller than the number of necessary workers.