https://www.reuters.com/article/us-u...-idUSKCN1QF2KF

"Trump’s initial January 2017 executive order banning entry to the United States by citizens of several Muslim-majority countries launched a fierce fight in federal courts over whether the policy amounts to an unlawful “Muslim ban” or is a legal exercise of presidential power.

The administration revised the policy following court challenges, and the Supreme Court allowed it to largely go into effect in December 2017 while legal challenges continued. In June 2018, the high court upheld the new version of the ban."

One of the successes of the Trump administration.