US District Judge Nicholas Garaufis said in an order issued today the Republican president "indisputably" has the power to end the Deferred Action for Childhood Arrivals program but relied on flawed legal positions in doing so.
Trump's attorney general has said then-President Barack Obama's decision to implement DACA was an unconstitutional exercise of authority.
The judge says Trump's administration relied on an "erroneous" belief the program was unconstitutional. His ruling mirrors one issued in San Francisco in January.