It was right after Woodrow Wilson's first serious post-World War I repression, which deported thousands of people, effectively destroyed unions and independent press, and so on. Right after that, the anti-immigration law was passed that remained in place until the 1960s.