President Trump announced Wednesday that the U.S. would lift sanctions on Turkey because there will be a "permanent" ceasefire in the conflict between Turkey and the Kurds in northern Syria. The Kurds largely withdrew from the region under the terms of an earlier 120-hour ceasefire negotiated by the U.S.

The announcement came after Turkish President Recep Tayyip Erdogan and Russian President Vladimir Putin brokered a new six-day ceasefire, which allows Russia to step into the power vacuum created after Mr. Trump announced the withdrawal of 1,000 U.S. troops from northern Syria.

In his announcement, Mr. Trump said Turkey called to inform him early Wednesday morning that there would be a "permanent" ceasefire between Turkey and the Syrian Kurds.

Get Breaking News Delivered to Your Inbox

"However, you would also define the word permanent in that part of the world as questionable," Mr. Trump said.

"This was an outcome created by us, the United States, and nobody else," Mr. Trump said, countering the news that a ceasefire had been negotiated by Erdogan and Putin.

Mr. Trump said a "small number of U.S. troops" would "remain in the area" to protect oil reserves, which he said the U.S. had secured.

"We have done them a great service and we've done a great job for all of them, and now we're getting out," Mr. Trump said. "Let someone else fight over this long blood-stained sand."

Mr. Trump also said those who had criticized his decision to pull troops from northern Syria were now praising him.

"Today's announcement validates our course of action with Turkey that only a couple of weeks ago was scorned and now people are saying, 'wow, what a great outcome, congratulations,'" Mr. Trump said. He also praised Erdogan, who has been criticized for his autocratic tendencies and said that he and Erdogan may be meeting soon.

Turkey launched an offensive into Syria against the Kurds earlier this month. The Turkish offensive has left dozens of civilians dead and driven more than 200,000 people from their homes in the region. A ceasefire negotiated by Erdogan and Vice President Mike Pence last week included a provision to relocate the Kurds from northeast Syria within 120 hours.

As part of the new deal negotiated by Erdogan and Putin, Turkey will get a nearly 20-mile-deep "safe zone" along its border, clear of the Kurdish militias that Erdogan's government considers terrorists.

Democrats and Republicans in Congress condemned Mr. Trump's decision to withdraw U.S. troops from the region, accusing the president of abandoning the Kurdish allies who were instrumental in defeating the terrorist group ISIS. The Kurds were also in control of several prisons holding ISIS fighters and their families.

Mr. Trump insisted that his decision was motivated by a desire to end "endless wars" and return the troops to the U.S., although Defense Secretary Mark Esper said this week the troops were being relocated across the border to Iraq, where they would still be able to quickly deploy back into Syria to help quash any resurgence of ISIS.

Mr. Trump said Wednesday the Kurdish leader had informed him that prisons holding ISIS fighters were secured. However, the top envoy to Syria, James Jeffrey, testified before Congress on Wednesday that over 100 prisoners have escaped and the U.S. does not know where they are.

Iraqi military officials said Tuesday that no permission had been granted for the U.S. to increase its troop presence in the country for an extended period.

Esper quickly scheduled meetings with his counterparts in Baghdad and said the plan was for the American forces to remain only temporarily in Iraq before eventually coming home to the U.S., but he gave no timeline.

Holly Williams contributed to this report.