US President Donald Trump signed a revised ban on refugees and on travelers from six Muslim-majority nations Monday, scaling back the order to exempt Iraqis and permanent US residents.

With his first attempt frozen by federal courts, Trump signed a second order suspending refugee admissions for 120 days and halting new visas for travelers from Syria, Iran, Libya, Somalia, Yemen and Sudan.

The White House said Trump -- who is embroiled in controversy over his aides' links to Russia and his own Twitter outbursts -- signed the order behind closed doors Monday morning.

The new order comes into effect on March 16 and is meant to address legal problems. It explicitly exempts Iraqis, legal permanent residents and valid visa holders.

Source: b'File image of Trump signing an order | Source: AFP'

"The principles of the executive order remain the same," said White House spokesman Sean Spicer.

Secretary of State Rex Tillerson, one of three cabinet members rolled out to present the order in Trump's absence, described it as "a vital measure" for strengthening national security.

Attorney General Jeff Sessions added that it "provides a needed pause" allowing a review of how America deals with travelers from "countries of concern."

"Three of these nations are state sponsors of terrorism," Sessions said, referring to Iran, Sudan and Syria.

He added that others had served as "safe havens" for terror operatives.

Critics questioned the composition of the list, which includes citizens from countries that have never been involved in terror attacks in the United States.

Non-governmental groups accused Trump of covertly pursuing his controversial and possibly illegal campaign promise of a "total and complete shutdown of Muslims entering the United States."

The question of Trump's intent is likely to dominate new legal challenges that are already being flagged by organizations like the American Civil Liberties Union.

"President Trump has recommitted himself to religious discrimination, and he can expect continued disapproval from both the courts and the people," said Omar Jadwat, director of the ACLU's Immigrant Rights Project.

Senate Democratic leader Chuck Schumer said the measure should be repealed, adding: "A watered down ban is still a ban."

Dozens of protesters rallied outside the White House on Monday night, holding signs with messages like "Fight ignorance, not immigrants."

Source: b'A protest outside the White House on Monday | Source: AFP'

Caroline Short, a 29-year-old protester, rejected the idea that the ban would make America safer.

"Totally ridiculous... It will be used as a tool for people that want to say America hates Muslims," she said.

How the countries affected reacted 

Iraq's inclusion in the first order prompted outrage in that country, including from Prime Minister Haider al-Abadi.

The US and Iraqi militaries are currently fighting side-by-side in northern Iraq, trying to wrest the city of Mosul from Islamic State control.

The Iraqi foreign ministry on Monday expressed its "deep satisfaction" with the new order, and described it as an "important step" in strengthening relations between Baghdad and Washington.

But the revised travel ban is also likely to sow further confusion about US immigration policies.

On Monday, Nigeria advised its citizens against all but essential travel to the United States, citing the lack of clarity on new immigration rules.

"In the last few weeks, the office has received a few cases of Nigerians with valid multiple-entry US visas being denied entry and sent back to Nigeria," said special adviser to the president Abike Dabiri-Erewa.

According to a report released Monday by travel data firm Forwardkeys, travel from the United States to the Middle East has also fallen sharply, with bookings for departure in the next three months falling 25.4 percent behind the equivalent time last year.

Source: b'Will this give Trump relief from allegations over Russia? | Source: AFP'

Relief from Russia? 

But the ban is likely to help Trump divert attention from rolling crises on his ties with Russia.

Since US intelligence publicly accused Russia of trying to swing the November election in Trump's favor, questions have swirled about whether some in Trump's campaign colluded with Moscow.

The last week has seen his attorney general recuse himself from election-related investigations, after it emerged he met the Russian ambassador in Washington twice during the campaign.

It has also seen Trump level unsubstantiated allegations that former president Barack Obama ordered a wiretap on the now president's phone.