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. The citizens felt an anti-french feeling, and some members of congress wanted to declare war on france, but the United States had an alliance with them.