The Alien and Sedition Acts were a series of laws enacted in 1798 during the presidency of John Adams that aimed to strengthen national security but ultimately restricted civil liberties. These acts included measures to deport non-citizens deemed dangerous and criminalized making false statements against the federal government. This legislation is significant as it highlights the tensions between national security and individual rights during a time of political division, particularly between the Federalists and Democratic-Republicans.