(CNN) A second federal judge Tuesday has temporarily blocked the Trump administration from ending the Deferred Action for Childhood Arrivals program.

Judge Nicholas G. Garaufis of the US District Court for the Eastern District of New York ruled that DACA participants and states are likely to succeed in their challenge that the way President Donald Trump terminated the Obama-era program was arbitrary and capricious.

Trump last year announced his plan to end DACA, the policy that allowed undocumented immigrants brought to the US as children to stay in the country, effective March 5. That deadline has become central in the congressional debate over immigration, but Democrats and Republicans are nowhere near a breakthrough.

Tuesday's ruling, combined with a ruling from a California judge last month , means the program could end up going beyond the March 5 date. The ruling means DACA recipients can renew their status, but the administration will not have to hold the program open to those who never applied.

"Defendants indisputably can end the DACA program," Garaufis wrote, referring to the Trump administration. "The question before the court is thus not whether defendants could end the DACA program, but whether they offered legally adequate reasons for doing so. Based on its review of the record before it, the court concludes that defendants have not done so."

Read More