Alien and Sedition Acts 1798, four internal security laws passed by the U.S. Congress, restricting aliens and curtailing the excesses of an unrestrained press, in anticipation of an expected war with France.
All the Alien and Sedition Acts expired or were repealed during the next two years, except for the Alien Enemies Act, which remained in effect and was amended in 1918 to include women.
See: https://www.ourdocuments.gov/doc.php?flash=false&doc=16&page=transcript