Former CIA Director David Petraeus has agreed to testify before the House and Senate intelligence committees, Fox News has learned.

Prior to his abrupt resignation last week, Petraeus had been scheduled to testify this Thursday on the burgeoning controversy over the Libya terror attack.

Petraeus resigned on Friday, citing an extramarital affair with a woman who wrote his biography. Lawmakers have raised questions about Petraeus' testimony in the days after the attack, in which he pointed to an anti-Islam video as being the likely cause.

Doug McKelway reported on the rapidly developing situation this morning on America's Newsroom: