The U.S. Court of Appeals for the Ninth Circuit on Thursday upheld a lower court’s preliminary injunction blocking the federal government’s rollback the Deferred Action for Childhood Arrivals (DACA) program.

In a 99-page opinion, Judge Kim Wardlaw wrote that Department of Homeland Security Secretary Kristjen Nielsen was “incorrect in her belief that DACA was illegal and had to be rescinded.”