Sen. Lindsey Graham (R-S.C.) critiqued the Democratic presidential hopefuls appearing in Tuesday night’s primary debate, saying “it was another good night for president.”

He added after the debate, “My advice to him after tonight: Get out of these people’s way! You are winning the battle of ideas. Sit back and enjoy the show!”

Graham continued, “The only thing more bizarre than the candidates and their ideas was the audience who seemed to cheer at the most extreme ideas. Where do they find these people?”

Earlier, Graham suggested the plans of Democratic candidates to withdraw from Afghanistan could help terrorist groups.

“Withdrawing from war zones filled with terrorists—against sound military advice—didn’t work for President Obama and it won’t work for anyone else,” Graham tweeted. “ISIS and al-Qaeda are loving this debate.”

The South Carolina Republican has praised President Trump’s use of military force during his term, including two strikes on Syria in response to chemical attacks on rebel areas in the country. Graham was also critical of former President Obama’s withdrawal from Iraq.

Several Democrats vowed they would withdraw the U.S. military from Afghanistan, with South Bend, Ind., Mayor Pete Buttigieg, and Montana Gov. Steve Bullock saying they would pull out troops within their first year in office, while former Rep. Beto O’Rourke (D-Texas) said he would do the same within his first term, according to The Hill.

Graham also asked Senator Bernie Sanders “don’t sit at the table with ISIS and Al-Qaeda.”

Regarding the immigration debate, Graham said the Democratic candidates are “turning into an open invitation for any person who can make their way to America to come here. Plus, they will be rewarded with free health care!”

He added, “Most people on the planet will take Democrats up on this offer.”

He asserted, “Biggest winner of the Dems Debate on immigration is President Donald Trump.”