The answer is: Alien and Sedition Act!
This law comes from the year 1798 and it was passed by the 5th United States Congress. It gave the president some powers, for example to arrest imprison or deport immigrants for various reasons, such as criticizing the
federal government.