Which was an effect of the XYZ Affair?

Answer: I believe A is the answer, but it could be B
Explanation: The XYZ affair 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.