Senator Lindsey Graham sounded off on President-elect Donald Trump’s criticism of the intelligence community, calling his recent comments not “helpful.”

“I don’t think it is helpful for the Commander-in-Chief to question the competency, loyalty of those who are risking their lives to defend the nation, and the last thing I would say about anybody working in the American intelligence community is to compare them to Nazi Germany,” The South Carolina Republican told reporters Friday.

WATCH: Not healthy to question the competency and loyalty of US intel community, Sen. Graham says of pres.-elect’s “Nazi Germany?” tweet. pic.twitter.com/FnhnLNx97i — NBC Nightly News (@NBCNightlyNews) January 12, 2017

Trump blasted intelligence agencies in a tweet on Wednesday following the leak of a report later published by BuzzFeed that alleged compromising information about the president-elect.

Intelligence agencies should never have allowed this fake news to “leak” into the public. One last shot at me.Are we living in Nazi Germany? — Donald J. Trump (@realDonaldTrump) January 11, 2017

Graham proceeded to take a thinly-veiled jab at his fellow Republican lawmakers.

“I can only imagine,” Graham continued, “what we would have said if a Democrat said that.”

The Republican senator apparently inspired many Democrats who cheered his remarks on Twitter where users issued a collective round of applause.

Wake up right! Receive our free morning news blast HERE

@NBCNightlyNews @LindseyGrahamSC don’t always agree with you but do respect you. You’re bang on here. — Ante Cirko (@CirkoAnte) January 13, 2017

@NBCNightlyNews @LindseyGrahamSC Dear Senator, I’m a Dem, & I must tell you how incredibly proud I am of you and your service to ALL of us. — Michelle (@Bing7789) January 12, 2017

@NBCNightlyNews @sengraham2016 thanks for being an R that actually says sane thing sometimes. — Angie (@ambowie) January 13, 2017

@NBCNightlyNews Lindsey Graham having a Glenn Beck styled coming to Jesus moment right before our very eyes — Michael JW (@mikeyj916) January 13, 2017

@NBCNightlyNews My respect and admiration for Sen Graham has done a 180. — Tom Ehlers (@ehlers5150_tom) January 12, 2017

@NBCNightlyNews When did Lindsey Graham grow a pair? — (((Buzz))) (@Burger_Buzz) January 12, 2017

@NBCNightlyNews Sen. Graham, you have restored hope to my despairing heart. You are showing the world what a true American is. W/pride ???? — Liz Lischillina (@iaskwhynot53) January 12, 2017