Question: what countries were involved in the xyz affair?
Answer: The XYZ Affair and the Quasi-War with France, 1798–1800. 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.