Question: he xyz affair (1797) led to near formal war with
Answer: between the United States and Republican France