The Philippines military said on Monday it was close to retaking a southern city held for a seventh day by Islamist militants, as helicopters unleashed more rockets on positions held by the rebels aligned with Islamic State.
The clashes in Marawi city with the Maute militia, a group hardly known a year ago, has become the biggest security challenge of Rodrigo Duterte's 11-month presidency, with gunmen resisting air and ground assaults and still in control of central parts of a city of 200,000 people.
The military said the rebels may be getting help from "sympathetic elements"and fighters they had freed from jail during the rampage that started on Tuesday and caught the military by surprise.
"Our ground commanders have assured that the end is almost there,"
"We can control who comes in and who comes out, who moves around and who doesn't. And we're trying to isolate all these pockets of resistance."
More than 100 people have been killed, most of them militants, according to the military, and most of the city's residents have fled.
The military said the Maute group was still present in nine of the city's 96 Barangays, or communities.
The Maute group's ability to fight off the military for so long will add to fears that Islamic State's radical ideology is spreading in the southern Philippines and it could become a haven for militants from Indonesia, Malaysia and beyond.
The government believes the Maute carried out their assault before the Muslim holy month of Ramadan to capture the attention of Islamic State and earn recognition as a Southeast Asian affiliate.
The military's estimates of the size of the rebel force and the extent of its occupation have fluctuated each day. It has maintained throughout that it is in full control of the situation and says supporters of the Maute were making exaggerated claims on social media.
According to witnesses, men with black headbands typical of Islamic State were seen on city streets in recent days. A photograph taken by a resident shows 10 men carrying assault rifles and dressed entirely in black.
A Reuters photographer saw an Islamic State flag in an oil drum in an abandoned street on Monday, where chickens roamed in front of damaged shops and homes.
Iligan City, 38 km (24 miles) away, was overflowing with evacuees and was on lockdown over fears that fighters had sneaked out of Marawi by blending in with civilians.
"We don't want what's happening in
Sixty-one militants, 20 members of the security forces and 19 civilians have been killed since Tuesday, when Maute rebels went on the rampage after a botched military operation to arrest Isnilon Hapilon, who the government believes is a point man for Islamic State in the Philippines.
Some troops tried to eliminate Maute snipers on Monday as others guarded deserted streets, taken back block-by-block.
Helicopters circled the lakeside city and smoke poured out of some buildings. Artillery explosions echoed.
Though most people have left, thousands are stranded, worried they could be intercepted by militants at checkpoints on routes out of the city.
There were still bodies of civilians in Marawi and residents urged the military to halt air strikes, said Zia Alonto Adiong, a politician involved in evacuation efforts.
"The anticipation of death is worse than death itself," he told news channel ANC. "We appeal to our military forces to do a different approach."
The military said air strikes were taken on "known and verified enemy positions".
"We are using precision ammunition in our surgical air strikes," said another army spokesman,
Bodies of what appeared to be executed civilians were found in a ravine outside
Duterte imposed martial law last week on Mindanao, an island of 22 million people where both Marawi and Iligan are located, to quell the unrest and wipe out militancy.
He made an unconventional offer on Saturday to Muslim separatists and communist rebels to join his fight against extremists, and said he would give them the same pay and benefits as government troops.