The U.S. 5th Circuit Court of Appeals in New Orleans today upheld a federal judge’s injunction against President Obama’s immigration executive orders of 2014, putting a permanent hold on the plans while awaiting trial in Texas.

The president’s plan, called Deferred Action for Parents of Americans and Lawful Permanent Residents, would have allowed for more than 4 million¬†undocumented immigrants nationwide to apply for three-year renewable work permits and reprieves from deportation proceedings.

The initial injunction was issued in February by U.S. District Judge Andrew Hanen in Brownsville, Texas, where the lawsuit was filed by the Texas attorney general, joined by 25 other states. Judge Hanen ruled that the plan did not follow the federal Administrative Procedure Act and was thus illegal.

UPDATE: The day after the Nov. 9 ruling, the U.S. Department of Justice vowed a swift appeal to the Supreme Court.