Some fighting continued to the north and east of the town where the militants were surrounded.

 Iraqi forces have captured IS's last stronghold in northern Iraq, the military said on Thursday, leaving the militant group holed up in pockets of land by the Syrian border.

The town of Hawija and the surrounding areas were captured in an offensive carried out by U.S.-backed Iraqi government troops and Iranian-trained and armed paramilitary groups known as Popular Mobilisation.

Some fighting continued to the north and east of the town where the militants were surrounded.

With the fall of Hawija, which lies near the Kurdish-held oil city of Kirkuk, the only area that remains under control of IS in Iraq is a stretch alongside the western border with Syria, where the militant group is also in retreat.

"The army's 9th armoured division, the Federal Police, the Emergency Response division and (..) Popular Mobilisation liberated Hawija," said a statement from the joint operations commander, Lieutenant-General Abdul Ameer Rasheed Yarallah.

State TV showed footage of Iraqi forces putting flags in one of the town's main squares while Humvees patrolled empty streets littered with car wrecks, houses riddled with bullets and shattered storefronts.

Thick black smoke continued to rise from areas surrounding Hawija, from oil wells torched by the militants to prevent air detection.

The capture of Hawija brings Iraqi forces into direct contact with Kurdish Peshmerga fighters who control Kirkuk, a multi-ethnic region claimed by both Baghdad and the Kurdistan Regional Government (KRG).

Kirkuk shaped up as a flashpoint last month when the KRG included the city in a referendum on Kurdish independence in northern Iraq.

"We don't want any agression or confrontations but the federal authority must be imposed in the disputed areas," Prime Minister Haider al-Abadi told a news conference in Paris, held with French President Emmanuel Macron.

Abadi renewed an offer to jointly administrate Kirkuk with the Peshmerga, but under the authority of the central government. The Kurds took control of Kirkuk in 2014, when the Iraqi army fled in the face of IS's advance.

Arab and Turkmen communities live alongside a large Kurdish population in Kirkuk, a city claimed by the Kurds for over a century as the "heart of Kurdistan".

Iraq launched its offensive on September 21 to dislodge IS from the Hawija area, where up to 78,000 people were estimated to be trapped, according to the United Nations.

The militants continue to control the border town of al-Qaim and the region surrounding it.

They also hold parts of the Syrian side of the border, but the area under their control is shrinking as they retreat in the face of two different sets of hostile forces — a U.S.-backed, Kurdish-led coalition and Syrian government troops with foreign militias backed by Iran and Russia.

IS's cross-border land effectively collapsed in July, when U.S.-backed Iraqi forces captured Mosul, the group's de facto capital in Iraq, in a grueling battle which lasted nine months.

The militants' leader, Abu Bakr al-Baghdadi, who declared the caliphate from Mosul in mid-2014, released an audio recording last week that indicated he was alive, after several reports he had been killed.

He called on his followers to keep up the fight despite the setbacks.

Source:Timeofoman