The US authorities have rolled back a controversial travel ban on people from seven mainly Muslim countries after a judge suspended it.

The state department said it was reversing the cancellation of visas, 60,000 of which were revoked after President Donald Trump’s order.

Judge James Robart ruled there were legal grounds to challenge the ban.

Mr Trump reacted furiously, calling Mr Robart’s ruling “ridiculous” and vowing to restore his ban.

People affected by the ban treated news of the suspension warily as airlines began allowing them to board flights to America on Saturday.

Judge Robart’s temporary restraining order on Friday halted the ban with immediate effect.

Since then, the state department has said it is reversing visa cancellations and US homeland security employees have been told by their department to comply with the ruling.

Customs officials told airlines that they could resume boarding banned travellers. Qatar Airways, Air France, Etihad Airways, Lufthansa and others said they would do so.

The Trump administration argues that the travel ban is designed to protect the US.

It has promised to seek “at the earliest possible time” an emergency stay that would restore the restrictions.

Meanwhile, the US president has raged against Judge Robard on Twitter.

“The opinion of this so-called judge, which essentially takes law-enforcement away from our country, is ridiculous and will be overturned!” he wrote..

“When a country is no longer able to say who can, and who cannot , come in and out, especially for reasons of safety and security – big trouble!”

“I am very happy that we are going to travel today,” Fuad Sharef, an Iraqi with an immigration visa who was prevented along with his family from boarding a flight to New York a week ago, told Reuters news agency from Irbil on Saturday. “Finally, we made it.”