The White House claimed the ruling was "outrageous"
US President Donald Trump has hit out at a federal judge who ruled against his controversial travel ban.
US District Judge James Robart ruled against government lawyers at a hearing in Seattle, saying there was a strong likelihood that a legal challenge against the ban would succeed.
The White House described the nationwide ruling as "outrageous".
A short time later, it issued a strongly worded statement stating its intention to file "an emergency stay of this outrageous order" at the earliest possible opportunity.
It described Mr Trump's executive order as "lawful and appropriate" and added: "The President's order is intended to protect the homeland and he has the constitutional authority and responsibility to protect the American people."
But within minutes, a revised statement from the White House removed the word "outrageous".
Following the ruling, airlines have been told to allow previously banned travellers to fly.
While President Trump has attacked Judge Robart in a tweet:
The opinion of this so-called judge, which essentially takes law-enforcement away from our country, is ridiculous and will be overturned!— Donald J. Trump (@realDonaldTrump) February 4, 2017
New York's state Governor Andrew Cuomo has said that a baby girl from Iran, who was being taken to the US for life-saving heart surgery, will now be allowed in to the country.
The row is over an executive order, signed by President Trump, stopping people who hold passports from Iran, Iraq, Libya, Somalia, Sudan, Syria and Yemen from entering the US - and also temporarily halting the entry of refugees into the country.
The legal challenge was brought by Washington state - one of two states which urged a legal fight against it.
In blocking the president's order, Judge Robart ruled: "The state has met its burden in demonstrating immediate and irreparable injury."
Washington state's Attorney General Bob Ferguson, who brought the case, said: "Washington has a profound interest in protecting its residents from the harms caused by the irrational discrimination embodied in the order.
"The law is a powerful thing - it has the ability to hold everybody accountable to it, and that includes the President of the United States."
A number of large businesses based in Washington state - including Microsoft, Amazon and Expedia - have supported the legal challenge. They claim it is harming their operations.
Despite intense criticism both at home and abroad, President Trump has defended the order - insisting it is necessary for national security reasons.
On Friday, a US Justice Department lawyer revealed 100,000 visas had been cancelled in the wake of the travel ban.
The US State Department later contradicted that figure, and suggested the real number was fewer than 60,000.
It claimed the higher figure included diplomatic and other visas which were exempted by the travel ban, as well as expired visas.