(AP) – A federal appeals court in San Francisco has refused to reinstate President Donald Trump’s ban on travelers from seven predominantly Muslim nations.

The 9th U.S. Circuit Court of Appeals on Thursday wouldn’t block a lower-court ruling that suspended the ban and allowed previously barred travelers to enter the U.S. An appeal to the U.S. Supreme Court is possible.

READ MORE: 'Simply Just Another Bump In The Road': Future Sacramento Firefighter Tells Inspirational Story From Chemo To Cadet

U.S. District Judge James Robart in Seattle issued a temporary restraining order halting the ban last week after Washington state and Minnesota sued. The Justice Department appealed to the 9th Circuit.

READ MORE: Sacramento Highway 99 Closure Now In Place: How To Get Around It

Government lawyers argued that the ban was a “lawful exercise” of the president’s authority and that the seven countries have raised terrorism concerns.

MORE NEWS: Rideshare Services Like Lyft, Uber Struggle To Get Drivers Behind The Wheel

The states said Trump’s executive order unconstitutionally blocked entry based on religion.