Gen. David Petraeus. Photo courtesy: AP.
WASHINGTON (AP) - President Barack Obama is praising David Petraeus for a lifetime of service that Obama says "made our country safer and stronger."
His statement follows the resignation by Petraeus from his post as CIA director, after the former Army general admitted he'd had an extramarital affair.
The resignation marked a sudden end to the public career of the best-known general of the post 9/11 wars.
In a statement, Petraeus said he had asked Obama yesterday to let him resign, and the president today accepted. Petraeus said he had shown "extremely poor judgment" in having the affair.
Obama said Petraeus had provided "extraordinary service to the United States for decades." He made no direct mention of the reasons for the resignation, but offered his thoughts and prayers to the general and his wife, saying that Holly Petraeus had "done so much to help military families through her own work."
Obama says CIA Deputy Director Michael Morell will serve as acting director. The president says he's confident that the CIA will "continue to thrive and carry out its essential mission."