Answer:
The XYZ affair also raised anti-French sentiment which caused the passage of the Alien and Sedition Acts. This was one of the most unpopular pieces of legislation ever passed by Congress. It cost John Adams re-election and allowed Thomas Jefferson to paint him as a monarch.
Step-by-step explanation: