During his term, he resolved a conflict against France peacefully. He also passed the Alien and Sedition Acts which made it illegal to say bad things about the government. Many people did not like those acts because they felt it took away their freedom of speech. Adams was not re-elected president and lost to Thomas Jefferson. The Federalist Party was not as popular as it was when Adams was elected. One of his last acts as president was to make John Marshall the Chief Justice of the United States. This made sure that the Federalist Party would still be important.