MARAWI CITY, Philippines (Reuters) - The Islamist militants holed up in the southern Philippines town of Marawi have been reduced to a “small resistance” after troops crippled their logistics and some fighters have fled from the battle, military officials said on Thursday.

Philippines Defense Secretary Delfin Lorenzana (C) inspects a high-powered firearm seized from various hideouts of Islamist militants during their visit at a military camp in Marawi city, Philippines June 8, 2017. REUTERS/Neil Jerome Morales

“In a few more days it could be over,” armed forces Chief of Staff General Eduaro Año told ANC television on the 17th day of a siege by hundreds of militants who have sworn allegiance to the ultra-radical Islamic State group.

The battle for Marawi City has raised concern that Islamic State, on a back foot in Syria and Iraq, is building a regional base on the Philippine island of Mindanao that could pose a threat to neighboring Indonesia, Malaysia and Singapore too.

Officials have said that, among the several hundred militants who seized the town on May 23, there were about 40 foreigners from Indonesia and Malaysia but also fighters from India, Saudi Arabia, Morocco and Chechnya.

The seizure of the town suggested to many that pro-Islamic State factions wanted to establish it as a Southeast Asian “wilayat” – or governorate - for Islamic State, a fear reinforced by video footage the military found last week showing the fighters plotting to seal the town off completely.

Major General Carlito Galvez, head of military command in the region, said government troops had entered three neighborhoods from which the militants had pulled back after two weeks of defense that relied heavily on snipers.

“We saw food, IEDs, mobility assets. Considering we have paralyzed logistics capability, we are looking at the possibility that the end will be near,” he told a news conference in Marawi, referring to improvised explosive devices, or bombs.

Slideshow ( 7 images )

With their ability to fight “degraded”, some of the militants have fled, military spokesman Restituto Padilla said in a radio interview, adding that nine had surrendered and were providing “good intelligence”.

PEACE CORRIDORS

The government has said several times that it is close to retaking the town from the Maute group. A relatively new rebel faction, it joined forces with Isnilon Hapilon, who was last year proclaimed by Islamic State as its “emir” of Southeast Asia.

But the fighters prepared for a long siege, stockpiling arms and food in tunnels, basements, mosques and madrasas, or Islamic religious schools, military officials say.

The Philippines is largely Christian, but Marawi City is overwhelmingly Muslim.

The military said 138 militants had been killed, and the death tolls for security personnel and civilians stood at 39 and 20, respectively.

Galvez said the military believed that “more or less 100” civilians were still being held hostage by the militants. Earlier this week, officials put at several hundred the number of people being held as human shields or trapped in their homes.

Catholic priest Father Teresito “Chito” Soganub and about a dozen of his parishioners were abducted on the first day of the siege when militants burst into the town’s cathedral and then set it on fire.

Task force head Brigadier General Rolly Bautista told reporters that, according to information passed back through emissaries, the priest was still alive.

The government has been setting up “peace corridors” to allow civilians from the lakeside town to move away from the battle and to deliver food and medicines.

Government-appointed negotiator Irene Santiago said that a religious leader who had been acting as an emissary to seek a corridor for civilians held hostage had taken ill and the authorities were waiting for him to get better.