Iraqi Prime Minister Haider al-Abadi said the government offensive to recapture the city of Mosul from Islamic State militants was in its final stages.
Speaking at a news conference on Tuesday night, he warned the insurgents that they must surrender or be killed.
Since launching the offensive on October, government forces have driven IS from eastern Mosul and are now making advances in the western sector.
The city on the Tigris river is the last urban stronghold in Iraq of the militants, who declared a caliphate in parts of Iraq and Syria after they captured it in 2014.
"The battle now is in the final stages. Daesh become day after day surrounded inside a tight area and they are in their final days," Abadi said, using an Arab acronym for Islamic State.
He also pledged to treat the families of IS fighters fairly.
"Let me be very clear, we will preserve families of Daesh who are civilians but we will punish the terrorists and bring them to justice if they surrender," he said.
"They are cornered and if they will not surrender they will definitely get killed."Abadi said he would visit Washington next week and meet U.S. President Donald Trump to discuss the war. The United States is providing air and artillery support in the offensive.