The State Department on Saturday reversed President Trump’s cancellations of visas from seven predominately Muslim countries, in accord with a judge’s order that the cancellations were illegal.

Visa holders impacted by Trump’s Jan. 27 executive order are now being allowed on US-bound flights. About 60,000 foreigners had their visas “provisionally revoked” to comply with the order.

The Department of Homeland Security — which runs border protection agencies — also said it would cease implementing the Jan. 27 executive order.

One Middle Eastern airline, Dubai-based Emirates, said it was allowing those whose visas have been restored to board its US-bound flights. Its main rivals, Qatar Airways and Abu Dhabi-based Etihad, issued similar instructions, according to the Associated Press.

Iraqi Airways flights from Baghdad to Istanbul, Cairo and Dubai were booked solid on Saturday afternoon, said an airline official. Many of those on the flights are headed to the US, the official said.

Iranians are also being allowed on US-bound flights. “People are being allowed to board from Tehran,” Sirine Shebaya, a civil rights attorney representing Iranian travelers from flying into Dulles airport in Washington, told The Washington Post.

The Trump administration had ordered a temporary stop on travelers coming to the US from seven predominantly Muslim nations: Iraq, Iraq, Libya, Somalia, Syra, Sudan and Yemen. The ban also indefinitely halted the processing of Syrian refugees.

The widely criticized travel ban caused chaos in the nation’s airports as hundreds of travelers in the air when the executive order was put into place were detained once they landed in American airports. In some cases, people were sent back to the countries they’d just left.

President Trump took to Twitter to slam Seattle-based federal Judge James Robart on Twitter for overturning his ban. Trump vowed to seek reversal of Robart’s decision.