Iraqi forces have retaken a former government compound in Ramadi from where Islamic State (IS) group militants have been resisting an army offensive, foreign media reports.
The complex was "under complete control" and there was no sign of IS fighters.
This heralded the defeat of IS in the city, although he admitted there could be pockets of resistance.
The government has been trying to retake Ramadi for weeks.
The mainly Sunni Arab city, about 55 miles (90km) west of Baghdad, fell to IS in May, and was seen as an embarrassing defeat for the army.
In recent days, troops have been picking their way through booby-trapped streets and buildings as they pushed towards the city centre, seizing several districts on the way.
After sniper fire from the compound stopped and aerial surveillance detected no human activity, Iraqi soldiers moved in.