Question: what two countries were involved in the xyz affair?
Answer: The XYZ Affair was a diplomatic incident between French and United States diplomats that resulted in a limited, undeclared war known as the Quasi-War. U.S. and French negotiators restored peace with the Convention of 1800, also known as the Treaty of Mortefontaine.