Citizens of more than half a dozen countries will face new restrictions on entry to the U.S. under a proclamation signed by President Donald Trump on Sunday that will replace his expiring travel ban.

The new rules, which will impact the citizens of Chad, Iran, Libya, North Korea, Somalia, Syria, and Yemen — and some from Venezuela — will go into effect on October 18.

The restrictions range from an indefinite ban on visas for citizens of countries like Syria to more targeted restrictions. A suspension of non-immigrant visas to citizens for Venezuela, for instance, will apply only to certain government officials and their immediate families.

The announcement comes the same day as Trump's temporary ban on visitors from six Muslim-majority countries was set to expire 90 days after it went into effect. That ban had barred citizens of Iran, Libya, Somalia, Sudan, Syria and Yemen who lacked a "credible claim of a bona fide relationship with a person or entity in the United States" from entering the U.S. Only one of those countries, Sudan, will no longer be subject to travel restrictions.

"Making America Safe is my number one priority. We will not admit those into our country we cannot safely vet," Trump tweeted late Sunday after the new policy was announced.

Unlike the first iteration of Trump's travel ban, which sparked chaos at airports across the country and a flurry of legal challenges after being hastily written with little input outside the White House, officials stressed they had been working for months on the new rules, in collaboration with various agencies and in conversation with foreign governments.

To limit confusion, valid visas would not be revoked as a result of the proclamation. The order also permits, but does not guarantee, case-by-case waivers for citizens of the affected countries who meet certain criteria.

That includes: having previously worked or studied in the U.S.; having previously established "significant contacts" in the U.S.; and having "significant business or professional obligations" in the U.S. Still, officials acknowledged the waiver restrictions were narrower than the exemptions for people with bona fide ties to the United States that the Supreme Court mandated before the expiring order went into effect in late June.

The restrictions are targeted at countries that the Department of Homeland Security says fail to share sufficient information with the U.S. or haven't taken necessary security precautions.

DHS has spent recent months working to develop a new security baseline, which includes factors such as whether countries issue electronic passports with biometric information, report lost or stolen passports to INTERPOL, and share information about travelers' terror-related and criminal histories. The U.S. then shared those benchmarks with every country in the world and gave them 50 days to comply.

A total of sixteen countries did not comply with the rules at first, officials said, but half worked with the U.S. to improve their information-sharing and security practices. The remaining eight are now subject to the new restrictions until they make changes to bring them into compliance.

The new rules include the suspension of all immigrant visas for nationals of Chad, Iran, Libya, North Korea, Syria, Yemen and Somalia, and the suspension of non-immigrant visas, such as for business and tourism, to nationals of Chad, Libya, North Korea, Syria and Yemen.

Citizens of Iran will not be eligible for tourism and business visas, but remain eligible for student and cultural exchange visas if they undergo additional scrutiny. Such additional scrutiny will also be required for Somali citizens applying for all non-immigrant visas.

Trump last week called for a "tougher" travel ban after a bomb partially exploded on a London subway.

"The travel ban into the United States should be far larger, tougher and more specific-but stupidly, that would not be politically correct!" he tweeted.

Critics have accused Trump of overstepping his legal authority and violating the U.S. Constitution's protections against religious bias each time he has ordered new travel restrictions.

And the inclusion of Venezuela and North Korea appeared to be an attempt to block challenges from advocacy groups and others who have called the restrictions a ban on Muslims. Trump during his campaign called for a "total and complete shutdown of Muslims entering the United States."

The U.S. had already imposed wide-ranging sanctions on certain high-ranking Venezuelan government officials to protest the government's attempts to consulate power. The new visa sanctions will apply to all officials from five Venezuelan government security agencies and their immediate families.

"The fact that Trump has added North Korea — with few visitors to the U.S. — and a few government officials from Venezuela doesn't obfuscate the real fact that the administration's order is still a Muslim ban," said Anthony D. Romero, the executive director of the American Civil Liberties Union, which has been challenging the ban in court. "President Trump's original sin of targeting Muslims cannot be cured by throwing other countries onto his enemies list."

Johnathan Smith, legal director of the advocacy group Muslim Advocates, also slammed the measure as the "same Muslim ban" and an attempt "to undermine our Constitution."

But administration officials argue the measure is necessary to keep Americans safe.

Secretary of State Rex Tillerson said in a statement the president was carrying out his duty to protect the American people. He said the State Department would coordinate with other federal agencies to implement the measures in "an orderly manner" and would "continue to work closely with our allies and partners who share our commitment to national and global security."

The new policy could also complicate the Supreme Court's upcoming review of the order, which is scheduled for argument next month.

The Justice Department has suggested to the Supreme Court that the two sides submit new legal briefs by October 5 — five days before the argument — that address how the new policy will affect the case.

__

Associated Press writer Mark Sherman contributed to this report.