(CNN)Iraqi forces have seized the strategically important town of Tal Afar from ISIS, Prime Minister Haider al-Abadi said Thursday.
An operation to retake the northwestern town, captured by the extremists on June 16, 2014, began 10 days ago.
Tal Afar was the last town still under the control of ISIS militants in Iraq's Nineveh province following the liberation of Mosul, about 45 miles to the east.
"The joy of victory has been completed and the entire province of Nineveh has become in the hands of our heroic forces," al-Abadi said, in a statement released Thursday by his media office.
"I declare to you that Tal Afar has joined the liberated Mosul and returned to the homeland."
Al-Abadi also issued a warning to any fighters for ISIS, also known as Daesh, who remain in Iraq.
"We say to the criminals of Daesh: Wherever you are, we are coming for liberation, and you have no choice but to die or surrender."
The US-led coalition against ISIS, which has been backing the Iraqi Security Forces (ISF) in their battle, congratulated them in a statement Thursday.
"Following their historic liberation of Mosul and now a swift and decisive victory in Tal Afar, the ISF have shown, once again, they are an increasingly capable force that can protect the Iraqi people, defeat ISIS within Iraq and secure the country's borders," said Lt. Gen. Stephen Townsend, commander of US and coalition forces in Iraq and Syria.
"This is yet another significant achievement for the Iraqi Security Forces and the government and people of Iraq."
The coalition statement added that efforts to make Tal Afar safe would continue.
"While the city and critical infrastructure are under ISF control, dangerous work remains to completely remove explosive devices, identify ISIS fighters in hiding and eliminate any remaining ISIS holdouts so they do not threaten the security of Tal Afar in the future," it said.