A Federal judge in Hawaii has blocked President Donald Trump's new travel ban, hours before it was due to begin at midnight on Thursday.
The ruling by US District Judge Derrick Watson stops the executive order from going into effect.
Hawaii is one of several US states trying to stop the ban.
The directive would have placed a 90-day ban on people from six mainly Muslim nations and a 120-day ban on refugees.
President Trump said it would stop terrorists from entering the US but critics say it is discriminatory.
Lawyers in Hawaii had argued that the ban would violate the US constitution by discriminating against people on the grounds of their national origin.
The state also said the ban would harm tourism and the ability to recruit foreign students and workers.
An earlier version of the president's order, issued in late January, sparked confusion and protests, and was blocked by a judge in Seattle.
The White House has not yet commented on the latest ruling.
But Washington state Attorney General Bob Ferguson, who is attending a court hearing in Seattle in his efforts to block the travel ban, described it as "fantastic news".
"It's very exciting. At this point it's a team effort - multiple lawsuits and multiple states," he said.
Under the revised order, citizens of six countries on the original 27 January order - Iran, Libya, Syria, Somalia, Sudan and Yemen - would once more be subject to a 90-day travel ban.
Iraq was removed from the list because its government boosted visa screening and data sharing, White House officials said.
The revised order also lifts an indefinite ban on all Syrian refugees and says Green Card holders (legal permanent residents of the US) from the named countries will not be affected.
But more than half a dozen US states have joined lawsuits in an attempt to block it.
In his presidential campaign, Mr Trump vowed "a total and complete shutdown" of Muslim immigration to the US, and to implement a process of "extreme vetting" in order to prevent violent extremists from entering the US.