CIA Director David Petraeus has resigned from his position, citing an affair.

Petraeus said in a statement that he asked President Obama yesterday "to be allowed, for personal reasons, to resign from my position as D/CIA. After being married for over 37 years, I showed extremely poor judgment by engaging in an extramarital affair. Such behavior is unacceptable, both as a husband and as the leader of an organization such as ours."

Advertisement:

President Obama said in a statement that "by any measure, through his lifetime of service, David Petraeus has made our country safer and stronger," also adding that "going forward, my thoughts and prayers are with Dave and Holly Petraeus, who has done so much to help military families through her own work. I wish them the very best at this difficult time."

Michael Morell will serve as acting director until a replacement is named.

Here's the full resignation letter, via CNN:

Advertisement: