Former CIA Director David Petraeus has agreed to voluntarily testify before the House and Senate intelligence committees about the attacks on the U.S. Consulate in Benghazi, Libya, Fox News reported Wednesday morning.

Petraeus had been slated to testify Thursday before his abrupt resignation last week, after which Acting CIA Director Michael Morell was expected to take his place.

“Mr. Petraeus has indicated his willingness [to testify],” Senate Intelligence Committee Chairwoman Dianne Feinstein (D-Calif.) told Politico. “He is eager to come before the committee so we will work out the details.”

No exact schedule has been set for Petraeus’ testimony. He resigned from his post Friday after admitting to an extramarital affair.

The CIA has come under sharp scrutiny in the wake of the Sept. 11 Benghazi terror attacks that killed four Americans, including Ambassador Christopher Stevens.

Feinstein told CNN on Tuesday she believed Petraeus would ultimately testify. She previously complained about not being informed about the FBI investigation that led to his resignation.

“I believe he will. I think he’s a responsible person and I believe he will come,” Feinstein said.

Some lawmakers had threatened to subpoena Petraeus if he did not come voluntarily.

“I hope we don’t have to subpoena a four-star general and the former CIA director, I hope he would come voluntarily, but if he won’t he will be subpoenaed and none of what has happened [with the resignation] is a defense to a subpoena,” Rep. Trey Gowdy (R-S.C.) said on Fox News.

​This post has been updated.