Sen. Lindsey Graham (R-S.C.) is praising President Donald Trump’s change of heart on a total pullout of U.S. forces from Syria, supporting his decision to keep 200 troops on the ground.

“I think it’s a very smart decision by the president,” the senator told Fox News on Friday. “He listened to sound military advice, he adjusted his policies. The goal is to make sure ISIS doesn’t come back.”

Graham had vehemently opposed the commander in chief’s initial plan to engage in a total pullout, reportedly calling it “the dumbest fucking idea I’ve ever heard.”

Like other lawmakers and military officials, he said he was concerned that the drastic move could enable the resurgence of terrorism in the region. Trump’s December decision was opposed by his own defense secretary, James Mattis, who submitted his resignation soon afterward.