Iraqi forces backed by the U.S.-led coalition retook the last town in the country held by the Islamic State in Iraq and Syria (ISIS), Iraqi and coalition officials said Friday.

“I congratulate our heroic forces and the Iraqi people on the liberation of Rawa,” Iraqi Prime Minister Haider al-Abadi said in a statement. “The success of our forces, in record time and with excellent planning, shows their strength.”

Now, all that remains of ISIS’s holdings in Iraq are patches of desert along the border with Syria.

Al-Abadi said forces are continuing to secure the border area.

ADVERTISEMENT

“Total victory is near,” he said.

I congratulate our heroic forces and the Iraqi people on the liberation of Rawa. The success of our forces, in record time and with excellent planning, shows their strength. Our armed forces continue to secure the Jazira and desert area and the Iraqi border. Total victory is near — Haider Al-Abadi (@HaiderAlAbadi) November 17, 2017

The U.S.-led coalition likewise celebrated the victory in Rawa.

“Daesh crumbles!” Operation Inherent Resolve wrote on Twitter, using an alternate name for ISIS.

Daesh crumbles! Iraqi Security Forces liberate Rawa, last urban area in Iraq held by ISIS. @CJTFOIR proud to stand with Iraq! #defeatdaeshhttps://t.co/MbJJMAKVyZ — Inherent Resolve (@CJTFOIR) November 17, 2017

ISIS swept into Iraq in 2014, taking large swaths of territory in the north and west, including Iraq’s second largest city of Mosul.

ADVERTISEMENT

Iraqi forces backed by the coalition retook Mosul earlier this year and have since routed ISIS from the remaining towns it held.

“Since ISIS' defeat in Mosul, Iraqi Security Forces have walloped Daesh in every battle...rolled right over them. ISIS demoralized, quitting, and it shows. This is an important milestone, but still work to be done to KEEP Daesh gone!” coalition spokesman Col. Ryan Dillon wrote on Twitter.

Since ISIS' defeat in Mosul, Iraqi Security Forces have walloped Daesh in every battle...rolled right over them. ISIS demoralized, quitting, and it shows. This is an important milestone, but still work to be done to KEEP Daesh gone! — OIR Spokesman (@OIRSpox) November 17, 2017

The U.S.-led coalition and its allies in Syria also continue to battle ISIS after the loss of its former capital of Raqqa in October.

Various forces in Syria, including the U.S.-backed Syrian Democratic Forces and the Russian-backed Syrian government, are converging in the Middle Euphrates River Valley to clear ISIS there.

Pentagon officials have described recent victories as an inflection point and warned that the threat posed by ISIS remains.

“With the fall of the caliphate, there's more pressure on ISIS to stage things,” chief Pentagon spokeswoman Dana White said at a briefing Thursday. “So again, even though we've been very successful, this is an inflection point. There's more pressure. There still is the threat of foreign fighters. So, again, we have to defeat ISIS, and the caliphate is falling fast, but we still have to remember that ... this is a long-term struggle.”

Defense Secretary James Mattis James Norman MattisBiden courts veterans amid fallout from Trump military controversies Trump says he wanted to take out Syria's Assad but Mattis opposed it Gary Cohn: 'I haven't made up my mind' on vote for president in November MORE also said this week to expect U.S. troops to stay in Syria until a political process to resolve that country’s civil war starts.

“That's our goal right now, to continue until ISIS is extinguished,” Mattis told reporters at the Pentagon. “But we're not just going to walk away right now before the Geneva process has cracked. That doesn't mean everyone stays there. That doesn't mean for certain troops are leaving.”