Gen. Mike Flynn, former national security adviser to President Donald Trump, reportedly told the FBI that he is willing to testify on the Trump campaign’s alleged ties to Russia — but only if he is granted immunity from prosecution.

Citing “officials with knowledge of the matter,” The Wall Street Journal reported that the FBI, along with the House and Senate Intelligence committees, have not signed off on any formal agreement yet.

Shortly after the report surfaced, Flynn's attorney released a statement seemingly confirming that immunity was being requested in the case.

“No reasonable person, who has the benefit of advice from counsel, would submit to questioning in such a highly politicized, witch hunt environment without assurances against unfair prosecution,” the statement said.

Flynn infamously resigned in February after it was revealed that he didn't disclose all relevant information about his interactions with Russian officials. It was reported that Flynn talked about U.S. sanctions with Russian ambassador Sergey Kislyak before Trump was inaugurated.

One official reportedly told The WSJ that “the fact that he was seeking immunity suggested Mr. Flynn feels he may be in legal jeopardy.”