Washington: CIA director David Petraeus has stepped down from his post over his extramarital affair, BBC reported early Saturday.
Describing his behaviour as "unacceptable" for the leader of the nation's main intelligence agency, Petraeus, in a statement, said he had submitted his resignation to US President Barack Obama, and that he had shown "extremely poor judgement".
Petraeus said: "After being married for over 37 years, I showed extremely poor judgment by engaging in an extra-marital affair.
"Such behaviour is unacceptable, both as a husband and as the leader of an organisation such as ours. This afternoon, the president graciously accepted my resignation."
Petraeus turned CIA boss in 2011 after heading international forces in Iraq, then in Afghanistan.
He was the highest-profile military officer of the post-9/11 years and was admired for his role running the "surge" in Iraq and implementing a counter-insurgency strategy in Afghanistan.
Petraeus' resignation came just three days after President Barack Obama's re-election, and prompted a flurry of statements from the White House, intelligence community and Petraeus himself.
Announcing his decision to step down, the former general was full of contrition.
CIA deputy director Michael Morell will serve as acting director of the agency, the White House confirmed.