Making the world better, one answer at a time. In 1798, the Alien and Sedition acts were passed by Congress to anticipate a possible war with France.These acts were primarily aimed at French immigrants.aking the world better, one answer at a time. In 1798, the Alien and Sedition acts were passed by Congress to anticipate a possible war with France.