I agree of the answer down below
John Adams was the 2nd President of the United States, from March 4, 1797, to March 4, 1801. Under his presidency, he signed the Alien and Sedition Acts of 1798, which:
Allowed the President to Imprison and deport non-citizens who were deemed dangerous to the interests of the country or who belonged to a hostile nation.
Made it a criminal act to make false statements that were critical to the federal government.
These acts were detrimental to the granted liberties of citizens by the Constitution, as they could be imprisoned under biased interpretations of the statements they make towards the government.
On the other hand, President Adams achieved a peaceful resolution of the country's ongoing conflict with France, avoiding a potential war that would have represented in high costs for the country.