President Rodrigo Duterte said on Sunday he did not seek support from Washington to end the siege of a southern Philippines town by Islamist militants, a day after the United States said it was providing assistance at the request of the government.

Duterte told a news conference in Cagayan de Oro City, about 100 km (62 miles) from the besieged town of Marawi, that he had "never approached America" for help.

When asked about U.S. support to fight the pro-Islamic State militants in Marawi City on the island of Mindanao, Duterte said he was "not aware of that until they arrived."

The cooperation between the longtime allies in the battle is significant because Duterte, who came to power a year ago, has taken a hostile stance towards Washington and has vowed to eject U.S. military trainers and advisers from his country.

It is unclear whether the pro-American military went over Duterte's head in seeking U.S. help.

The Philippines military said on Saturday U.S. forces were providing technical assistance but had no "boots on the ground", confirming a statement from the U.S. embassy in Manila which said the support had been requested by the government.

The seizure of Marawi on May 23 by hundreds of local and foreign fighters has alarmed Southeast Asian nations, which fear the ultra-radical group Islamic State is trying to establish a stronghold on Mindanao that could threaten their region.

The Pentagon, which has no permanent presence in the Philippines but for years has kept 50 to 100 special forces troops in the south of the country on rotational exercises, confirmed it was helping the Philippine military in Marawi.

It said in a statement on Saturday it was providing Philippine forces with security assistance and training in the areas of intelligence, surveillance and reconnaissance. It said it had an additional 300 to 500 troops in the country to support regular training and activities, without giving further details.

A U.S. official, speaking on condition of anonymity, said support included aerial surveillance and targeting, electronic eavesdropping, communications assistance and training. A U.S. P-3 Orion surveillance plane was seen over the town on Friday.

"OUR SOLDIERS ARE PRO-AMERICAN"

Duterte, who declared martial law on Mindanao - an island the size of South Korea - after the Islamist fighters overran Marawi, said that under martial law he has authority over the defence department.

He did not say the armed forces had gone over his head but noted that, because of years of training from the United States, "our soldiers are pro-American, that I cannot deny."

Presidential spokesperson Ernesto Abella said in a statement U.S. forces were not participating directly in combat operations as it is prohibited by Philippines law.

"The fight against terrorism, however, is not only the concern of the Philippines or the United States but it is a concern of many nations around the world," he said. "The Philippines is open to assistance from other countries if they offer it."

As of Saturday the number of security forces killed in the battle for Marawi stood at 58. The death toll for civilians was 20 and more than 100 had been killed overall.

At least 200 militants are holed up in a corner of the town. An estimated 500 to 1,000 civilians are trapped there, some being held as human shields, while others are hiding in their homes with no access to running water, electricity or food.

One of the main Islamist factions dug in around the heart of the city is the Maute group, a relative newcomer amid the throng of insurgents, separatists and bandits on Mindanao.

Maute joined forces with Isnilon Hapilon, who was last year proclaimed by Islamic State as its Southeast Asia "emir". Military officials believe Hapilon is still in the town.

The military has said it is aiming to end the siege by Monday, the Philippines' independence day.