President Donald Trump on Monday signed a new version of his controversial travel ban, aiming to withstand court challenges while still barring new visas for citizens from six Muslim-majority countries and shutting down the U.S. refugee program.

The revised travel order leaves Iraq off the list of banned countries but still affects would-be visitors from Iran, Syria, Somalia, Sudan, Yemen and Libya.

"The American people can have high confidence that we are identifying ways to improve the vetting process and thus keep terrorists from entering the country," Secretary of State Rex Tillerson said a news conference, citing Trump's authority to make changes to immigration policy.

Read the full text of the order.

Trump privately signed the new order Monday while Tillerson, Homeland Security Secretary John Kelly and Attorney General Jeff Sessions formally unveiled the new edict. The low-key rollout was a contrast to the first version of the order, signed in a high-profile ceremony at the Pentagon's Hall of Heroes as Secretary of Defense James Mattis stood by Trump's side.

President Trump signed a new executive order on travel and immigration on Monday after his first order stalled in court. These are some of the major differences between the two orders.

White House Press Secretary Sean Spicer was not scheduled to hold an on-camera briefing Monday either, leading to the appearance that the president was distancing himself from the order, which was a signature issue during his campaign and the first days of his presidency. The order also risks being overshadowed by unsubstantiated accusations the president made over the weekend that former President Barack Obama had ordered the wiretapping of his phone during the campaign.

The new order was quickly met opposition from some who had opposed the original ban.

New York Attorney General Eric Schneiderman said he was ready to litigate the order, while Senate Democratic Leader Chuck Schumer called for its repeal.

"A watered down ban is still a ban. Despite the Administration's changes, this dangerous executive order makes us less safe, not more, it is mean-spirited, and un-American. It must be repealed," Schumer said.

Republican Senator Lindsey Graham, who was critical of the rollout of the first order, came out in support of the new one Monday. He said in a statement be believed it "will achieve the goal of protecting our homeland and will, in my view, pass legal muster."

The original travel ban caused immediate panic and chaos at airports around the country as Homeland Security officials scrambled to interpret how it was to be implemented and travelers were detained before being sent back overseas or blocked from getting on airplanes abroad. The order quickly became the subject of several legal challenges and was ultimately put on hold last month by a federal judge in Washington state. That ruling was upheld by a federal appeals court.

The revised order is narrower and specifies that a 90-day ban on people from the six countries does not apply to those who already have valid visas or people with U.S. green cards, something Kelly emphasized in his remarks.

Might it be time to finally stop hoping for this?

"If you have a current, valid visa to travel, we welcome you," he said. "But unregulated, unvetted travel is not a universal privilege, especially when national security is at stake."

The White House dropped Iraq from the list of targeted countries following pressure from the Pentagon and State Department, which had urged the White House to reconsider, given Iraq's key role in fighting the Islamic State group. Syrian nationals are also no longer subjected to an indefinite ban, despite Trump's insistence as a candidate that Syrian refugees in particular posed a serious security threat to the United States.

A spokesman for the government of Iraq said the revised ban sends a "positive message" about the future of bilateral relations as the two countries work to combat the Islamic State group.

Saad al-Hadithi added that the decision to revise the ban shows that there is a "real partnership" between Washington and Baghdad.

The White House late Wednesday posted on its website ethics waivers granted to four ex-lobbyists and numerous others who have joined government.

In a call with reporters Monday morning, senior officials from Homeland Security and Justice Department said the travel ban was necessary to allow the government to review what more can be done to properly vet would-be visitors and refugees.

The officials said 300 people who arrived in the United States as refugees were currently under investigation as part of terrorism-related cases. The officials pointed to those cases as evidence of the need for the travel order, but refused repeated requests to address how many of those people were from the six banned countries or how long they have been in the United States.

A fact sheet describing the new order circulated before the new order was announced cites negotiations that resulted in Iraq agreeing to "increase cooperation with the U.S. government on the vetting of its citizens applying for a visa to travel to the United States."

The mere existence of a fact sheet signaled that the White House was taking steps to improve the rollout of the reworked directive. The initial measure was hastily signed at the end of Trump's first week in office, and the White House was roundly criticized for not providing lawmakers, Cabinet officials and others with information ahead of the signing.

[NATL] People Skip Work, School, and Shopping on 'Day Without Immigrants'

Trump administration officials say that even with the changes, the goal of the new order is the same as the first: keeping would-be terrorists out of the United States while the government reviews the vetting system for refugees and visa applicants from certain parts of the world.

According to the fact sheet, the Department of Homeland Security will conduct a country-by-country review of the information the six targeted nations provide to the U.S. for visa and immigration decisions. Those countries will then have 50 days to comply with U.S. government requests to update or improve that information.

Additionally, Trump's order suspends the entire U.S. refugee program for 120 days, though refugees already formally scheduled for travel by the State Department will be allowed entry. When the suspension is lifted, the number of refugees allowed into the U.S. will be capped at 50,000 for fiscal year 2017.

The new version also removes language that would give priority to religious minorities. Critics had accused the administration of adding such language to help Christians get into the U.S. while excluding Muslims.

"I think people will see six or seven major points about this executive order that do clarify who was covered," said presidential counselor Kellyanne Conway in an interview with Fox News Channel's "Fox & Friends."

She said the new order will not go into effect until March 16, despite earlier warnings from the president and his team that any delay in implementation would pose a national security risk, allowing dangerous people to flow into the country.

But Trump tweeted in the days after the first order that waiting a week would harm the nation.

"If the ban were announced with a one week notice, the "bad" would rush into our country during that week. A lot of bad "dudes" out there!" he said.

Legal experts say the new order addresses some of the constitutional concerns raised by a federal appeals court about the initial ban, but leaves room for more legal challenges.

"It's much clearer about how it doesn't apply to groups of immigrants with more clearly established constitutional rights," said University of Texas law professor Stephen Vladeck. "That's a really important step."

Removing language that would give priority to religious minorities helps address concerns that the initial ban was discriminatory, but its continued focus on Muslim-majority countries leaves the appearance that the order is a "Muslim ban," Vladeck said.

"There's still going to be plenty of work for the courts to do," he said.

And an official with the ACLU, which led many of the initial lawsuits against the January order, said Trump "recommitted himself to religious discrimination" in a statement.

"The Trump administration has conceded that its original Muslim ban was indefensible. Unfortunately, it has replaced it with a scaled-back version that shares the same fatal flaws," said Omar Jadwat, director of the ACLU’s Immigrants' Rights Project.

In his remarks at the news conference, Attorney General Sessions insisted that the initial order was lawful.