President Barack Obama meets with a group of DREAMer activists in the Oval Office of the White House in Washington, Wednesday, Feb. 4, 2015. (AP Photo/Evan Vucci)

Hanen acknowledged in his order that the 5th Circuit or Supreme Court could issue a contrary order on the injunction. BuzzFeed News asked the Justice Department for comment on Monday night's development.

The order specifically says that the administration is enjoined from implementing Obama's new actions, which would protect parents of U.S. citizens, along with the expansion to the 2012 Deferred Action for Childhood Arrivals (DACA) program.

The injunction states the court found that at least one plaintiff had satisfied all elements to maintain a lawsuit and be granted the temporary order.

Federal judge Andrew Hanen from the Southern District of Texas has issued a temporary injunction halting the United States from implementing President Obama's executive actions on immigration that would shield more than 4 million undocumented immigrants from deportation.

BREAKING: Federal Judge just granted my request to halt Obama's Executive Amnesty Order Nationwide. More later. #txlege #tcot @TexasGOP

BREAKING: Federal Judge just granted my request to halt Obama's Executive Amnesty Order Nationwide. More later. #txlege #tcot @TexasGOP

Texas Gov. Greg Abbott took to Twitter to make the announcement.

The lawsuit, filed by 26 states, attempted to block implementation of Obama's executive actions on immigration.

In their 30-page complaint, the states argued they will suffer harm as a result of the president's executive actions, which are estimated to offer temporary deportation protections and work permits to 5 million of the estimated 11 million undocumented immigrants living in the U.S.

Less than half — about 2.3 million — of those who could potentially benefit live in the states that have joined in the lawsuit, according to an analysis from the Pew Research Center.

The lawsuit alleges that Obama violated the "Take Care Clause" of the U.S. Constitution, which they said limits the president's power.

"And ensures that he will faithfully execute Congress' laws," the complaint said. "Not rewrite them under the guise of executive 'discretion.'"

The complaint said the actions will lead to an increase in human trafficking and new wave of undocumented immigration. The states also said they would be forced to spend money on law enforcement, health care, and education for those protected.

DACA, announced in June 2012, protects undocumented immigrants who entered the U.S. before the age of 16 and resided in the country since 2010 from deportation for three years. The program, expanded in 2014 to affect more people, also affords them a work permit.

The temporary injunction only affected the expanded DACA program and DAPA.

Immigrants were set to begin applying for the expanded temporary reprieve on Feb. 18.

In November, Obama rolled out a second program that extended protection to parents of lawful permanent residents. The application process wasn't set to start until mid- to late May.

Karen Tumlin, managing attorney for the National Immigration Law Center, said that the injunction was a very bad first chapter in what is going to be a long novel.

"But it's ultimately a novel that is going to end with a happy ending," Tumlin said. "Ultimately these programs are legally sound and good for the nation and they will take effect."