The 1879 Constitution of California prohibited the employment of Chinese people by state and local governments, as well as by businesses which were incorporated in California. Also, the 1879 constitution delegated the local governments of California the power to remove Chinese people from the borders of their localities. The Chinese Exclusion Act banning immigration of Chinese people was enacted on the national level in 1882, while the immigration of people from Asian countries in addition to China was banned by the sweeping Immigration Act of 1917, also known as the Asiatic Barred Zone Act, which also banned homosexuals, people with intellectual disability, and people with an anarchist worldview. The Chinese Exclusion Act was the first time that a law was passed to exclude a major ethnic group from the nation.