Washington (CNN) President Donald Trump suggested Tuesday that one of his biggest critics in the intelligence community, James Clapper, is on his side in his dispute with former CIA Director John Brennan in an effort by the former director of national intelligence to retain his security clearance.

"Even James Clapper has admonished John Brennan for having gone totally off the rails," Trump tweeted. "Maybe Clapper is being nice to me so he doesn't lose his Security Clearance for lying to Congress!"

Even James Clapper has admonished John Brennan for having gone totally off the rails. Maybe Clapper is being nice to me so he doesn't lose his Security Clearance for lying to Congress! — Donald J. Trump (@realDonaldTrump) August 21, 2018

Trump's tweet follows the administration's suggestion that after pulling Brennan's clearance, the President is considering revoking clearances from other current and former officials, all of whom have been critical of Trump or have become a political target by Republicans.

Clapper, said Sunday on CNN's "State of the Union" that he sees Brennan's rhetoric as concerning, even if he believes the former CIA director has a right to speak his mind.

Read More