The Philippines' Supreme Court on Tuesday endorsed President Rodrigo Duterte's enforcement of martial law across the southern third of the country.
Duterte imposed military rule across the insurgency-wracked region of Mindanao on May 23, saying it was necessary to defeat Daesh-backed militants.
The martial law was declared hours after hundreds of gunmen waving black Daesh flags occupied parts of Marawi city and triggered deadly clashes that are yet to end.
Militants continue to occupy parts of Marawi despite a US-backed military offensive there that has claimed more than 460 lives and displaced nearly 400,000 people.
TRT World spoke to Noel Tarrazona who is following the developments from Mindanao.
Opposition lawmakers called for the Supreme Court to strike down Duterte's martial rule for its "utter lack of sufficient factual basis."
An overwhelming majority of the justices dismissed that petition, Supreme Court spokesman Theodore Te told reporters on Tuesday.
He did not give any reasons for the court's decision.
In their petition to the court, the opposition lawmakers warned martial law would open the door to repression and atrocities seen during the 20-year rule of the late dictator Ferdinand Marcos that ended with a People Power revolution in 1986.
During the Marcos dictatorship, thousands of suspected communist and insurgents, as well as his critics, were jailed, tortured or killed, according to historians.
When Duterte announced martial law, he praised Marcos's version while vowing his own would be "harsh."
Under the constitution drawn up to prevent a repeat of Marcos-era abuses, the president is allowed to declare martial law only to prevent "invasion or rebellion."
It is limited initially to 60 days.
If Duterte wants to extend, he must get congressional approval.
As part of his martial law measures, Duterte allowed security forces to detain suspects for up to three days without prior court orders.
The government has said it has detained 66 people using these martial law powers for their links to the Marawi conflict, including the parents of brothers who are key militant leaders.
Duterte had repeatedly threatened to ignore the findings of the court if it ruled against him, vowing only to listen to the recommendations of the military.
"They are not soldiers. They do not know what is happening on the ground," Duterte said of the Supreme Court justices, as he also threatened to put martial law critics in jail.
Duterte on Monday warned martial law could continue beyond 60 days.