Passed in 1882, the Chinese Exclusion Act was an early federal law that restricted immigration of Chinese laborers.