President Obama is backing Gen. John Allen, the commander of American forces in Afghanistan and the second top military official whose behavior with a woman has come under investigation in recent weeks.
Allen, a four-star Marine general, is being investigated by the Pentagon's inspector general for "potentially inappropriate" emails with Florida socialite Jill Kelley.
The probe into Allen emerged from an FBI investigation into former CIA Director David Petraeus -- Allen's predecessor in Afghanistan -- who resigned and admitted having an extramarital affair. Petraeus' alleged mistress has been identified as the author of his biography Paula Broadwell.
While Obama accepted Petraeus' resignation last week, the president continues to have "faith" in Allen, White House Press Secretary Jay Carney said today.
"I can tell you that the president thinks very highly of General Allen and his service to his country, as well as the job he has done in Afghanistan," Carney said of the commander of the International Security Assistance Force in Afghanistan.
Allen had been nominated as the next commander of U.S. European Command and the commander of NATO forces in Europe, and despite Obama's backing, the nomination has been put on hold. The change of command at NATO is currently slated to not take place until March at the earliest.
A Defense Department official said the probe into Allen includes a review of 20,000 to 30,000 emails between the general and Kelley, including some characterized as "inappropriate" and "flirtatious."
Allen denies he was involved in an affair, the Pentagon official said. An intermediary for the general told ABC News that Allen and his wife are friends with Kelley and her husband and most of the emails were sent from Kelley to Allen's wife.
The source said Allen and Kelley would correspond frequently by email, as much as 11 times a day, but that the emails were "innocuous." The source insisted there was no sex between Allen and Kelley.
A U.S. official said Allen may have triggered the investigation when he got an anonymous email a few months ago that was traced to Broadwell. The email had a "Kelley Patrol" return address or subject line and painted Kelley as a seductress, which Allen found alarming and mentioned to Kelley in a subsequent email, the official said.
The official described Kelley, who had been given the title as honorary ambassador to the Central Command, as a "nice, bored rich socialite who drops the honorary from her title..and tells people she is an ambassador. She gets herself in anything related to Centcom and all the senior people and has been for years."
See the timeline of the Petraeus/Broadwell affair HERE.
Secretary of Defense Leon Panetta says the FBI referred the matter to the Pentagon on Sunday, according to a statement he released Tuesday while en route to Perth, Australia. Panetta says he ordered the Pentagon inspector general to investigate Allen on Monday. A Defense Department official says Panetta has not spoken to Allen in that time frame.
The official says the FBI provided the emails to DOD because they were not within their jurisdiction, and that they could fall under the Uniform Code of Military Justice, a set of guidelines that is applicable to all members of the U.S. military at home and abroad.
Read what top Senators are saying about the Petraeus affair HERE.
Allen was supposed to appear before a Senate confirmation hearing this Thursday alongside his designated replacement, Marine Gen. Joseph Dunford.
Panetta said Obama has agreed to put Allen's nomination on hold until the facts are determined. Panetta said that while the matter is being investigated by the Defense Department IG, Allen will remain in his post as commander of the International Security Assistance Force, based in Kabul.
The senior Defense official said, "We'll have to let the process follow its course. As I said, and you'll see in the Secretary's statement, we believe that General Allen is entitled to due process. We need to see where the facts lead in this matter before jumping to any conclusions whatsoever."
The official added, "We're in the very early stages of reviewing the documents right now. This matter has been referred to the IG, the IG will do a thorough investigation of the documents."
Kelley is said to have allegedly received threatening emails from Broadwell, who is Petraeus' biographer and who had an extramarital affair with Petraeus that reportedly began two months after he became CIA director in September 2011.
Petraeus resigned as CIA director on Friday citing an affair as his reason for stepping down from his post.
FBI agents spent more than four hours at Broadwell's home in North Carolina Monday night to carry out a consensual search that had been arranged with her lawyers, law enforcement sources said. The search was to locate additional classified material on computers or documents in the home, the sources said.
Agents left the house with a desktop computer, cardboard boxes and a briefcase. They walked through the open garage of Broadwell's house and knocked at a side door before entering the home. One person was taking photographs of the house and its garage as members of the news media watched.