Los Angeles (AFP) – A federal judge in Seattle ordered a temporary, nationwide halt to President Donald Trump’s ban on travelers from seven Muslim-majority countries, in the most severe blow to the controversial measure.

The temporary restraining order issued by US District Judge James Robart will remain valid nationwide pending a full review of a complaint by Washington attorney general Bob Ferguson.

Federal judges in several other states have also acted against the ban since it came into effect last Friday but Robart’s ruling is the furthest reaching order so far.

It came after Ferguson filed a suit to invalidate key provisions of Trump’s executive order which bars Syrian refugees indefinitely and blocks citizens of Iran, Iraq, Libya, Somalia, Sudan, Syria and Yemen from entry into the US for 90 days. Refugees from countries other than Syria are barred from entry for 120 days.

“The constitution prevailed today,” Ferguson said after the ruling. “No one is above the law — not even the president.”

Washington Governor Jay Inslee welcomed the decision as a “tremendous victory” but warned that the battle to overturn Trump’s executive order was not over.

“There is still more to do,” he said in a statement. “The fight isn’t yet won. But we should feel heartened by today’s victory and more resolute than ever that we are fighting on the right side of history.”

Ferguson argued in his complaint that the president’s ban violated the constitutional rights of immigrants and their families as it specifically targets Muslims.

However attorneys representing the Trump administration argued that as president, he had broad powers and was within his right to issue an order that protects Americans.

Similar legal challenges against the ban have been made in several other states, including California, New York and Washington.