A federal judge temporarily blocked President Obama's executive action on immigration. The first of the president's orders was set to take effect tomorrow.

It would prevent the deportations of millions of people brought here illegally as children. The judge's ruling will allow 26 states to move forward with a lawsuit aimed at stopping that action.

The lawsuit says the President violated his executive power as defined in the constitution. It also says the order will force states to spend more on law enforcement, health care and education.

In a statement, the White House says the orders fall within the President's legal authority. The Justice Department is expected to appeal.

New York City officials reacted to the judge's decision on immigration reform. Mayor de Blasio was among the officals who released statements.

"New York City will continue to defend, advocate and organize for the inclusion of immigrants already in our communities, who have proven to be an incredibly positive force for our economy and culture,” said de Blasio.

City Council Speaker Melissa Mark-Viverito and Executive Director of the New York Immigration Coalition, Steven Choi also provided statements.

"It's unfortunate that anti-immigrant activists and Republican leaders continue to reject all common sense immigration reforms and instead are spending their time filing frivolous lawsuits and threatening to shut down government agencies," said Mark-Viverito.

"We are fully confident that the President's administrative relief will become reality. Judge Hanen's misguided ruling will only temporarily delay the implementation of these relief programs," said Choi.