The Alien and Sedition Acts were a series of four laws passed by the U.S. Congress in 1798 amid widespread fear that war with France was imminent. The four laws – which remain controversial to this day – restricted the activities of foreign residents in the country and limited freedom of speech and of the press.