Washington (CNN) Former CIA Director John Brennan blasted President Donald Trump on Saturday after he tweeted about the firing of former FBI Deputy Director Andrew McCabe, calling the President "a disgraced demagogue."

"When the full extent of your venality, moral turpitude, and political corruption becomes known, you will take your rightful place as a disgraced demagogue in the dustbin of history. You may scapegoat Andy McCabe, but you will not destroy America ... America will triumph over you," Brennan, who was CIA head under President Barack Obama, tweeted.

When the full extent of your venality, moral turpitude, and political corruption becomes known, you will take your rightful place as a disgraced demagogue in the dustbin of history. You may scapegoat Andy McCabe, but you will not destroy America...America will triumph over you. https://t.co/uKppoDbduj — John O. Brennan (@JohnBrennan) March 17, 2018

Attorney General Jeff Sessions fired McCabe on Friday, just days before he was set to receive his pension after rising through the ranks and eventually becoming the No. 2 at the bureau.

Trump tweeted in the wee hours Saturday morning about the firing, saying the axing made it "a great day for the hard working men and women of the FBI."

"Andrew McCabe FIRED, a great day for the hard working men and women of the FBI - A great day for Democracy. 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!" he wrote.

Read More