Categories October Surprise 2024 James Madison – Students | Britannica Kids | Homework Help Post author By Post date October 19, 2026 The anticipated war with France prompted President Adams to pass the Alien and Sedition Acts in 1798, four laws that restricted immigration and incriminated anyone who printed slanderous propaganda aimed at the federal government.