Which country was involved in the XYZ Affair that led to significant political and diplomatic crisis for which President? Your choices are presented with the possible country, possible president as options.

The country involved in the XYZ Affair was France, and the president who faced the political and diplomatic crisis as a result was John Adams of the United States.