Judge Nicholas Garaufis said court conferences would be held to work out details of his ruling.

He concluded, “Wolf was not lawfully serving as Acting Secretary of Homeland Security under the HSA [Homeland Security Act] when he issued the Wolf Memorandum” that suspended DACA.

Karen Tumlin, a lawyer in the case and director of the Los Angeles-based Justice Action Center, said the ruling means, “the effort in the Wolf memo to gut the DACA program is overturned.”

She said the ruling applies to more than a million people, including more recent applicants and those seeking two-year renewals for protection under DACA.