President Barack Obama has put on hold General John Allen’s nomination as NATO’s supreme commander pending a probe into his email correspondence with a woman at the center of a sex scandal, a White House spokesman said Tuesday.

“At the request of the secretary of defense, the president has put on hold his nomination of Gen Allen as SACEUR pending the investigation of Gen Allen’s conduct by the Department of Defense IG (inspector general),” National Security Council spokesman Tommy Vietor said.

A US defense official said FBI investigators had uncovered a trove of 20,000 to 30,000 pages of correspondence — mostly emails — between Allen and Jill Kelley, a key figure in the scandal that brought down CIA chief David Petraeus.