'I screwed up royally,' Petraeus writes to old Army chum

“I screwed up royally … (but) Team Petraeus will survive,” former CIA Director David Petraeus wrote in a letter to an old Army chum after resigning his post and admitting to an extramarital affair, NBC News has confirmed.

Petraeus testifies on Benghazi attack

(Photo: Larry Downing / Reuters)

Former CIA Director David Petraeus testified Friday morning before the House Intelligence Committee as Congress seeks to find out why the Sept. 11 attack on the U.S. Consulate in Benghazi occurred and why greater protection was not provided to the facility. Petraeus will also testify before the Senate Intelligence Committee Friday.  Both sessions were to be held behind closed doors and were not open to the public.

Infidelity, intrigue and politics: a timeline of the David Petraeus case

(Photo: Mandel Ngan / AFP - Getty Images)

What began with David Petraeus’ surprise resignation as CIA director on Friday resulting from an extramarital affair has now spiraled into a complicated story of infidelity, intrigue and politics.

To help you keep the facts straight, NBC News has compiled this timeline, based on reporting by NBC News and other published accounts.

Read the complete story.

Emails on ‘coming and goings’ of Petraeus, other military officials escalated FBI concerns

(Photo: AFP - Getty Images file)

“Menacing” anonymous emails that launched the FBI investigation which ultimately brought down CIA Director David Petraeus contained references to the “comings and goings” of high-level U.S. military officials, raising concerns that someone had improperly gained access to sensitive and classified information, a source close to the recipient tells NBC News.

Petraeus’ biographer Paula Broadwell under FBI investigation over access to his email, law enforcement officials say

(Photo: NBC News)

The biographer for resigning CIA Director David Petraeus is under FBI investigation for improperly trying to access his email and possibly gaining access to classified information, law enforcement officials told NBC News on Friday.

Paula Broadwell is the author of Petraeus’ biography, “All In.” She had extensive access to Petraeus in Afghanistan and has given numerous television interviews speaking about him. 

Read the complete story.

CIA Director David Petraeus resigns, cites extramarital affair

(Photo: Lauren Victoria Burke / AP)

"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. This afternoon, the President graciously accepted my resignation."

Read the developing story.