WASHINGTON, DC - MAY 11:  Acting FBI Director Andrew McCabe testifies before the Senate Intelligence Committee with the other heads of the U.S. intelligence agencies in the Hart Senate Office Building on Capitol Hill May 11, 2017 in Washington, DC. The intelligence officials were questioned by the committee during the annual hearing about world wide threats to United States' security.  (Photo by Alex Wong/Getty Images)
Alex Wong/Getty Images
WASHINGTON, DC - MAY 11: Acting FBI Director Andrew McCabe testifies before the Senate Intelligence Committee with the other heads of the U.S. intelligence agencies in the Hart Senate Office Building on Capitol Hill May 11, 2017 in Washington, DC. The intelligence officials were questioned by the committee during the annual hearing about world wide threats to United States' security. (Photo by Alex Wong/Getty Images)
Now playing
01:57
McCabe learned he was fired from media reports
WASHINGTON, DC - MAY 11:  Acting FBI Director Andrew McCabe testifies before the Senate Intelligence Committee with the other heads of the U.S. intelligence agencies in the Hart Senate Office Building on Capitol Hill May 11, 2017 in Washington, DC. The intelligence officials were questioned by the committee during the annual hearing about world wide threats to United States' security.  (Photo by Alex Wong/Getty Images)
Alex Wong/Getty Images
WASHINGTON, DC - MAY 11: Acting FBI Director Andrew McCabe testifies before the Senate Intelligence Committee with the other heads of the U.S. intelligence agencies in the Hart Senate Office Building on Capitol Hill May 11, 2017 in Washington, DC. The intelligence officials were questioned by the committee during the annual hearing about world wide threats to United States' security. (Photo by Alex Wong/Getty Images)
Now playing
01:11
Who is Andrew McCabe?
Dana J. Boente (R), U.S. Attorney for the Eastern District of Virginia, and Andrew G. McCabe (L), Assistant Director in Charge of the FBI's Washington Field Office, after a hearing in federal court June 11, 2015 in Alexandria, Virginia. Officials announced that earlier today 17-year-old Virginia high school student Ali Shukri Amin pleaded guilty to helping a classmate travel to Syria in hopes of joining ISIS.  (Photo by Mark Wilson/Getty Images)
Mark Wilson/Getty Images
Dana J. Boente (R), U.S. Attorney for the Eastern District of Virginia, and Andrew G. McCabe (L), Assistant Director in Charge of the FBI's Washington Field Office, after a hearing in federal court June 11, 2015 in Alexandria, Virginia. Officials announced that earlier today 17-year-old Virginia high school student Ali Shukri Amin pleaded guilty to helping a classmate travel to Syria in hopes of joining ISIS. (Photo by Mark Wilson/Getty Images)
Now playing
02:31
NYT: McCabe wrote secret memo detailing Comey firing
WASHINGTON, DC - JUNE 21:  Acting FBI Director Andrew McCabe testifies before a House Appropriations subcommittee meeting on the FBI's budget requests for FY2018 on June 21, 2017 in Washington, DC. McCabe became acting director in May, following President Trump's dismissal of James Comey.  (Photo by Pete Marovich/Getty Images)
Pete Marovich/Getty Images North America/Getty Images
WASHINGTON, DC - JUNE 21: Acting FBI Director Andrew McCabe testifies before a House Appropriations subcommittee meeting on the FBI's budget requests for FY2018 on June 21, 2017 in Washington, DC. McCabe became acting director in May, following President Trump's dismissal of James Comey. (Photo by Pete Marovich/Getty Images)
Now playing
02:01
Report cites lack of candor by Andrew McCabe
WASHINGTON, DC - MAY 11:  Acting FBI Director Andrew McCabe testifies before the Senate Intelligence Committee with the other heads of the U.S. intelligence agencies in the Hart Senate Office Building on Capitol Hill May 11, 2017 in Washington, DC. The intelligence officials were questioned by the committee during the annual hearing about world wide threats to United States' security.  (Photo by Alex Wong/Getty Images)
Alex Wong/Getty Images
WASHINGTON, DC - MAY 11: Acting FBI Director Andrew McCabe testifies before the Senate Intelligence Committee with the other heads of the U.S. intelligence agencies in the Hart Senate Office Building on Capitol Hill May 11, 2017 in Washington, DC. The intelligence officials were questioned by the committee during the annual hearing about world wide threats to United States' security. (Photo by Alex Wong/Getty Images)
Now playing
01:57
Justice IG submits criminal referral on McCabe
WASHINGTON, DC - JULY 13:  Acting FBI Director Andrew McCabe listens during a news conference to announce significant law enforcement actions July 13, 2017 at the Justice Department in Washington, DC. Attorney General Jeff Sessions held the news conference to announce the 2017 health care fraud takedown.  (Photo by Alex Wong/Getty Images)
Alex Wong/Getty Images
WASHINGTON, DC - JULY 13: Acting FBI Director Andrew McCabe listens during a news conference to announce significant law enforcement actions July 13, 2017 at the Justice Department in Washington, DC. Attorney General Jeff Sessions held the news conference to announce the 2017 health care fraud takedown. (Photo by Alex Wong/Getty Images)
Now playing
00:58
Flake on McCabe firing: Horrible day for democracy
ALEXANDRIA, VA - JUNE 11: Andrew G. McCabe (R), Assistant Director of the FBI's Washington Field Office speaks while flanked by Dana J. Boente (L),U.S. Attorney for the Eastern District of Virginia, after a hearing in federal court June 11, 2015 in Alexandria, Virginia. Officials announced that earlier today 17-year-old Virginia high school student Ali Shukri Amin pleaded guilty to helping a classmate travel to Syria in hopes of joining ISIS.  (Photo by Mark Wilson/Getty Images)
Mark Wilson/Getty Images/FILE
ALEXANDRIA, VA - JUNE 11: Andrew G. McCabe (R), Assistant Director of the FBI's Washington Field Office speaks while flanked by Dana J. Boente (L),U.S. Attorney for the Eastern District of Virginia, after a hearing in federal court June 11, 2015 in Alexandria, Virginia. Officials announced that earlier today 17-year-old Virginia high school student Ali Shukri Amin pleaded guilty to helping a classmate travel to Syria in hopes of joining ISIS. (Photo by Mark Wilson/Getty Images)
Now playing
02:28
Could congressman's offer save McCabe's pension?
WASHINGTON, DC - MAY 23: Former Director of the U.S. Central Intelligence Agency (CIA) John Brennan testifies before the House Permanent Select Committee on Intelligence on Capitol Hill, May 23, 2017 in Washington, DC. Brennan is discussing the extent of Russia's meddling in the 2016 U.S. presidential election and possible ties to the campaign of President Donald Trump. (Photo by Drew Angerer/Getty Images)
Drew Angerer/Getty Images
WASHINGTON, DC - MAY 23: Former Director of the U.S. Central Intelligence Agency (CIA) John Brennan testifies before the House Permanent Select Committee on Intelligence on Capitol Hill, May 23, 2017 in Washington, DC. Brennan is discussing the extent of Russia's meddling in the 2016 U.S. presidential election and possible ties to the campaign of President Donald Trump. (Photo by Drew Angerer/Getty Images)
Now playing
01:40
Ex-CIA chief to Trump: US will triumph over you
WASHINGTON, DC - JUNE 21:  Acting FBI Director Andrew McCabe testifies before a House Appropriations subcommittee meeting on the FBI's budget requests for FY2018 on June 21, 2017 in Washington, DC. McCabe became acting director in May, following President Trump's dismissal of James Comey.
Pete Marovich/Getty Images North America
WASHINGTON, DC - JUNE 21: Acting FBI Director Andrew McCabe testifies before a House Appropriations subcommittee meeting on the FBI's budget requests for FY2018 on June 21, 2017 in Washington, DC. McCabe became acting director in May, following President Trump's dismissal of James Comey.
Now playing
01:06
Journalist: The real reason Trump wanted McCabe fired
douglas brinkley ctn
douglas brinkley ctn
Now playing
02:07
Historian: This is 'Friday Night Slaughter'
Getty Images/Chris Kleponis-Pool/Chip Somodevilla
Now playing
01:57
Trump celebrates McCabe firing on Twitter
WASHINGTON, DC - MAY 11:  Acting FBI Director Andrew McCabe testifies before the Senate Intelligence Committee with the other heads of the U.S. intelligence agencies in the Hart Senate Office Building on Capitol Hill May 11, 2017 in Washington, DC. The intelligence officials were questioned by the committee during the annual hearing about world wide threats to United States' security.  (Photo by Alex Wong/Getty Images)
Alex Wong/Getty Images
WASHINGTON, DC - MAY 11: Acting FBI Director Andrew McCabe testifies before the Senate Intelligence Committee with the other heads of the U.S. intelligence agencies in the Hart Senate Office Building on Capitol Hill May 11, 2017 in Washington, DC. The intelligence officials were questioned by the committee during the annual hearing about world wide threats to United States' security. (Photo by Alex Wong/Getty Images)
Now playing
02:30
McCabe denies he misled investigators
Acting Director of the Federal Bureau of Investigation (FBI) Andrew McCabe speaks during a press conference at the US Department of Justice in Washington, DC, on July 13, 2017.
JIM WATSON/AFP/Getty Images
Acting Director of the Federal Bureau of Investigation (FBI) Andrew McCabe speaks during a press conference at the US Department of Justice in Washington, DC, on July 13, 2017.
Now playing
01:25
Sessions fires FBI's Andrew McCabe
ALEXANDRIA, VA - JUNE 11:  Andrew G. McCabe (R), Assistant Director of the FBI's Washington Field Office speaks while flanked by Dana J. Boente (L), U.S. Attorney for the Eastern District of Virginia, after a hearing in federal court June 11, 2015 in Alexandria, Virginia. Officials announced that earlier today 17-year-old Virginia high school student Ali Shukri Amin pleaded guilty to helping a classmate travel to Syria in hopes of joining ISIS.  (Photo by Mark Wilson/Getty Images)
Mark Wilson/Getty Images/FILE
ALEXANDRIA, VA - JUNE 11: Andrew G. McCabe (R), Assistant Director of the FBI's Washington Field Office speaks while flanked by Dana J. Boente (L), U.S. Attorney for the Eastern District of Virginia, after a hearing in federal court June 11, 2015 in Alexandria, Virginia. Officials announced that earlier today 17-year-old Virginia high school student Ali Shukri Amin pleaded guilty to helping a classmate travel to Syria in hopes of joining ISIS. (Photo by Mark Wilson/Getty Images)
Now playing
02:52
Conservative media: McCabe part of 'deep state'
WASHINGTON, DC - JUNE 21:  Acting FBI Director Andrew McCabe testifies before a House Appropriations subcommittee meeting on the FBI's budget requests for FY2018 on June 21, 2017 in Washington, DC. McCabe became acting director in May, following President Trump's dismissal of James Comey.
Pete Marovich/Getty Images North America
WASHINGTON, DC - JUNE 21: Acting FBI Director Andrew McCabe testifies before a House Appropriations subcommittee meeting on the FBI's budget requests for FY2018 on June 21, 2017 in Washington, DC. McCabe became acting director in May, following President Trump's dismissal of James Comey.
Now playing
01:04
FBI deputy director McCabe stepping down
(CNN) —  

Andrew McCabe is describing his firing as part of President Donald Trump’s “ongoing war” with the FBI and the special counsel investigation.

Attorney General Jeff Sessions fired the former FBI deputy director Friday, two days before McCabe was set to retire, ending his two-decade career with the bureau.

“This attack on my credibility is one part of a larger effort not just to slander me personally, but to taint the FBI, law enforcement and intelligence professionals more generally,” McCabe said in a statement after his firing.

“It is part of this administration’s ongoing war on the FBI and the efforts of the special counsel investigation, which continue to this day. Their persistence in this campaign only highlights the importance of the Special Counsel’s work,” he added.

Dramatic fall

Trump had regularly taunted McCabe over accusations he misled internal investigators at the Justice Department.

His fall follows an internal review by Justice Department Inspector General Michael Horowitz. While details of the review have not been publicly released, it is said to conclude McCabe misled investigators about his role in directing other officials at the FBI to speak about his involvement in a public corruption investigation into the Clinton Foundation, according to a source briefed on it.

Horowitz’s report findings were referred to the FBI’s Office of Professional Responsibility, who recommended McCabe’s termination. In a last-ditch effort Thursday to avoid the firing, McCabe and his lawyer met officials at the Justice Department for several hours.

“I absolutely never misled the inspector general in any way,” McCabe told CNN, calling his highly public downfall the result of “a series of attacks designed to undermine my credibility and my reputation.”

’Great day for democracy’

McCabe was expected to retire on his 50th birthday Sunday, when he would have become eligible for early retirement benefits. His termination could affect a portion of his anticipated pension.

Shortly after the announcement, Trump described it as “a great day for democracy.”

“Andrew McCabe FIRED, a great day for the hard working men and women of the FBI - A great day for Democracy,” Trump tweeted. “Sanctimonious James Comey was his boss and made McCabe look like a choirboy. He knew all about the lies and corruption going on at the highest levels of the FBI!”