(CNN) — A federal judge granted an emergency stay Saturday night for citizens of seven Muslim-majority countries who have already arrived in the US and those who are in transit, and who hold valid visas, ruling they can legally enter the US.

The decision halts part of President Donald Trump’s executive order, which barred citizens from those countries from entering the US for the next 90 days.

Trump signed two executive actions Friday at the Department of Defense, including one that suspends indefinitely admissions for Syrian refugees and limits the flow of other refugees into the United States by instituting what the President has called “extreme vetting” of immigrants.

Titled “Protection Of The Nation From Foreign Terrorist Entry Into The United States,” the executive order would start to make good on Trump’s promise to tighten borders and halt certain refugees from entering the United States.

The text of the order — in a break from drafts that had been circulating earlier this week — drops a longtime Trump campaign pledge to establish safe zones in Syria to give Syrian nationals displaced by the ongoing civil war in the country a place to relocate.

The order bars all persons from certain terror-prone countries from entering the United States for 30 days and suspends the US Refugee Admissions Program for 120 days until it is reinstated “only for nationals of countries for whom” members of Trump’s Cabinet deem can be properly vetted. </s> WASHINGTON The U.S. State Department on Saturday moved to begin admitting refugees, including Syrians, as soon as Monday after a federal judge on Friday blocked a Trump administration temporary ban on refugee admissions.An email from the State Department's refugee office reviewed by Reuters Saturday said the U.S. government is working with its legal team and interagency and overseas partners to comply with the ruling.
The United States extends the restrictions deadline for refugees.