A federal appeals court upheld the decision to block President Trump's second attempt at a travel ban.
The 4th Circuit Court of Appeals in Richmond, Virginia, ruled 10-3 that a Maryland court acted appropriately in rejecting the executive order in March. The order would've limited travel into the U.S. from six Muslim-majority countries and blocked refugees for 120 days.
The chief judge wrote that the ban "speaks with vague words of national security, but in context drips with religious intolerance, animus, and discrimination."
He cited the fact that Trump's first executive order prioritized religious minorities from seven countries where more than 90 percent of the population is Muslim, which could be seen as religious discrimination.
The majority ruling also cites intelligence reports that suggest the order likely wouldn't actually make the U.S. any more secure.
Even if the Trump administration's challenge had been successful, the ban would've stayed in place. A Hawaii judge's ruling that blocks the executive order is still in effect.
Trump has lashed out at the judge who ruled against him, saying, "If something happens, blame him and court system."
He also promised to take the fight over immigration to the Supreme Court.