By Stephen Kalin
BAGHDAD (Reuters) - Iraqi forces backed by U.S.-led coalition air strikes reached the center of the western town of Hit, dislodging Islamic State militants and evacuating thousands of civilians, state television said on Friday.
A local commander said the pro-government forces had routed the militants from their stronghold in Hit, which had a pre-war population of nearly 100,000, but fighting was still going on.
"We are still pursuing them. They have abandoned their families and fled," the commander said in a live broadcast. "Within days, God willing, Iraqis will rejoice at the complete liberation of Anbar province."
The recapture of Hit, located on the Euphrates River near Ain al-Asad air base where several hundred U.S. personnel are training Iraqi army troops, would roll back Islamic State further west towards the Syrian border.
Baghdad has had success in pushing back the militants in recent months and has pledged to retake the northern city of Mosul later this year, though an offensive billed as the first phase of that campaign was put on hold this week.
The government forces' control of Hit appeared incomplete and fragile on Friday. One of the commanders said the insurgents, who have planted explosives in roads, cars and buildings, had tried to retake a main street but were repelled.
A coalition official said on Sunday that up to 300 Islamic State fighters based in Hit had built formidable defensive perimeters.
The counter-terrorism forces, which have led the military's offensive in Anbar for months, helped more than 10,000 civilians leave Hit in recent days, the commanders said. State television broadcast images of men, women and children carrying belongings and waving white flags as they walked out of the town.
The jihadists have regularly used civilians as human shields, a tactic aimed at slowing the advance of Iraqi forces and complicating air strikes essential to the ground advance.
Separately, bombs hit markets in Baghdad and a Sunni mosque in Baquba, the capital of eastern Diyala province bordering Iran, security sources said.
A blast in Tarmiya, 25 km north of the capital, killed one person and wounded seven others. Another explosion in the southern district of Doura killed two and wounded five more.
In Baquba, 65 km northeast of Baghdad, an explosion went off following Friday prayers, killing the mosque's imam and his son and wounding several worshippers.
There was no immediate claim of responsibility for the blasts. Islamic State bombs have regularly targeted civilians in both cities, while Shi'ite militia elements have been accused of attacking Sunnis' property in Diyala - charges they deny.
(Additional reporting by Maher Chmaytelli and Kareem Raheem; Editing by Angus MacSwan)