Travelers from eight countries will face restrictions on entry to the U.S, ranging from a total ban to more targeted restrictions, under a new proclamation signed by President Donald Trump on Sunday.

The new rules — which will impact the citizens of Chad, Iran, Libya, North Korea, Somalia, Syria, Venezuela and Yemen — will go into effect on Oct. 18. Officials stressed that valid visas would not be revoked as a result of the proclamation.

Some countries will face full bans. Others are more tailored, such as restrictions impacting Venezuela, which will only apply to certain government officials and their families.

Trump's controversial ban on visitors from six Muslim-majority countries expired Sunday, 90 days after it went into effect.

The Department of Homeland Security had recommended the president go ahead with more targeted restrictions on foreign nationals from countries that the agency says refuse to share sufficient information with the U.S. or haven't taken necessary security precautions.

Later Sunday night, the American Civil Liberties Union issued a statement in response.

"Six of President Trump's targeted countries are Muslim," ACLU executive director Anthony D. Romero said. "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. President Trump's original sin of targeting Muslims cannot be cured by throwing other countries onto his enemies list.”

The ACLU, along with partner organizations, are challenging the current Muslim ban. Supreme Court arguments are set for Oct. 10.

Sunday, Sept. 24, 6:36 pm PST: Updated with ACLU statement.