FALLUJA: Iraqi forces on Sunday recaptured the last district of Falluja held by IS militants and the commander of the operation declared the battle over following a month of fighting.
Iraqi troops reached the city centre, an hour's drive west of Baghdad, last week but militants had holed up in some parts, including Golan district which the military retook on Sunday.
The assault is part of a wider offensive against IS, which seized swathes of territory in 2014 but is now being driven back by an array of forces backed by a US-led coalition.
Gains in Falluja give fresh momentum to the campaign to retake Mosu.
"As we promised you, today this flag is flying high in Falluja and, God willing, it will soon fly in Mosul," said Prime Minister Haider Al Abadi, wearing a black military uniform and waving the Iraqi tricolour in front of the main hospital.
Swift advances in Falluja surprised many who expected a drawn-out battle for the bastion of the insurgency, where some of the toughest fighting of the US occupation took place in 2004 against IS' Al Qaeda forerunner.
Lieutenant General Abdul Wahab Al Saidi, who was in charge of the operation, told state TV at least 1,800 militants had been killed and the rest had fled or been captured.
Some were still holding out in buildings, he said.
The US-led coalition continued to provide air strikes and intelligence support in Falluja, a spokesman said.
Iraqi officers said air strikes had killed most of the insurgents ahead of ground advances to clear out remnants.
Aerial bombardment also dug craters into main streets to prevent militants from slipping between neighbourhoods.
Insurgents in Falluja, the first Iraqi city to fall to IS in January 2014, had put up limited resistance and folded after some commanders abandoned the fight, military officials said.
Defence Minister Khalid Al Obeidi said on Twitter around 90 pe rcent of Falluja remained "safe and habitable", comparing that favourably with Ramadi and Sinjar, cities recaptured from IS last year but badly damaged in the process.
Parts of Falluja, especially a southern frontline that was mostly static for around two years, have been severely scarred by air strikes, artillery fire and IS mines.
Many buildings are pancaked or damaged beyond repair; others, like a stadium near the city centre that partially collapsed, less so.
Dozens of homes were set ablaze but remain standing.
Trenches and earthen berms bisect many of Falluja's main arteries.
Debris from weeks of clashes -- rubble, bullet casings, discarded water bottles -- are strewn across roads and piled more than a metre high on either side.
Iraqi forces are now dismantling bombs and booby-trapped houses, whilst pursuing militants who slipped out of the city from the northwest, Sabah Al Numani, a spokesman for the counter-terrorism forces that spearheaded the offensive, told Reuters.
Combat units mortared IS positions in a western outskirt on Sunday afternoon as the thunder of controlled detonations echoed across the city. Counter-terrorism forces and local police tasked with keeping IS out after military units leave refrained from entering most buildings to avoid improvised mines.
Fighting to recapture Falluja forced the remaining 85,000 residents to flee over the past month, overwhelming government-run camps.
The population was more than three times that size before IS' takeover.
The mayor of Falluja told Reuters that displaced families could return within two months if the government and intentional agencies provided assistance.
"The city doesn't just require a rebuilding of its infrastructure but also serious rehabilitation of its society," said Essa Al Esawi.
"We just do not know which areas are safe and which aren't," said Nasr Muflahi of the Norwegian Refugee Council. "We are not in a position to ensure people will get basic supplies and services in Falluja."
The United Nations says it has received allegations of abuse of civilians fleeing the city.