El Paso
PHOTO: CNN
El Paso
Now playing
02:43
A look at Trump's claims about El Paso
Chairman Joe Manchin (C), D-WV, greets Congresswoman Deb Haaland, D-NM, during the Senate Committee on Energy and Natural Resources hearing on her nomination to be Interior Secretary on February 23, 2021 in Washington, DC. If confirmed, Haaland would become the first Native American Cabinet secretary in U.S. history.
PHOTO: Jim Watson/Pool/Getty Images
Chairman Joe Manchin (C), D-WV, greets Congresswoman Deb Haaland, D-NM, during the Senate Committee on Energy and Natural Resources hearing on her nomination to be Interior Secretary on February 23, 2021 in Washington, DC. If confirmed, Haaland would become the first Native American Cabinet secretary in U.S. history.
Now playing
02:06
Democratic senator slows progress on Biden's Covid-19 bill
John King Magic Wall 0305
PHOTO: CNN
John King Magic Wall 0305
Now playing
02:17
President Biden sending a team to the US-Mexico border
Senior Advisor to the President Jared Kushner  attends a press conference on September 4, 2020, in the Brady Briefing Room of the White House in Washington, DC. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
PHOTO: BRENDAN SMIALOWSKI/AFP/AFP via Getty Images
Senior Advisor to the President Jared Kushner attends a press conference on September 4, 2020, in the Brady Briefing Room of the White House in Washington, DC. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
02:50
Jared Kushner disappears from Trump's inner circle
Rep john garamendi 0305
PHOTO: CNN
Rep john garamendi 0305
Now playing
02:33
Rep. Garamendi: Any lawmaker involved in Capitol riots ought to be thrown out of Congress
Protesters gather at Lincoln Park to demand the Emancipation Memorial be taken down on June 23, 2020 in Washington, DC.
PHOTO: Tasos Katopodis/Getty Images
Protesters gather at Lincoln Park to demand the Emancipation Memorial be taken down on June 23, 2020 in Washington, DC.
Now playing
03:01
Why some people want this Abraham Lincoln statue taken down
psaki
PHOTO: CNN
psaki
Now playing
00:56
Psaki fires back at Trump testing czar over vaccine claims
PHOTO: CNN
Now playing
03:04
Avlon: Pence's op-ed is 'way worse than Stockholm syndrome'
PHOTO: CNN
Now playing
01:35
See what security looks like outside US Capitol
PHOTO: Gov. Cuomo's office
Now playing
03:35
Gov. Andrew Cuomo addresses women's allegations
Cuomo
PHOTO: Gov. Cuomo's Office
Cuomo
Now playing
00:56
Cuomo says he has no plans to resign
Now playing
04:51
Elected Republican who supports Biden's bill speaks out
President Joe Biden speaks during a meeting about cancer in the Oval Office of the White House, Wednesday, March 3, 2021, in Washington. (AP Photo/Alex Brandon)
PHOTO: Alex Brandon/AP
President Joe Biden speaks during a meeting about cancer in the Oval Office of the White House, Wednesday, March 3, 2021, in Washington. (AP Photo/Alex Brandon)
Now playing
01:20
'Neanderthal thinking': Biden on states lifting mask restrictions
PHOTO: CNN/Getty
Now playing
02:10
'Highly misleading at best': Dale reacts to Pence's op-ed
Commanding General District of Columbia National Guard Major General William J. Walker testifies before the Senate Homeland Security and Governmental Affairs/Rules and Administration hearing to examine the January 6, 2021 attack on the US Capitol on Capitol Hill on March 3, 2021 in Washington, DC. (Photo by Greg Nash / POOL / AFP) (Photo by GREG NASH/POOL/AFP via Getty Images)
PHOTO: GREG NASH/POOL/AFP via Getty Images
Commanding General District of Columbia National Guard Major General William J. Walker testifies before the Senate Homeland Security and Governmental Affairs/Rules and Administration hearing to examine the January 6, 2021 attack on the US Capitol on Capitol Hill on March 3, 2021 in Washington, DC. (Photo by Greg Nash / POOL / AFP) (Photo by GREG NASH/POOL/AFP via Getty Images)
Now playing
03:01
DC National Guard commander: 'Unusual' Pentagon restrictions slowed response to Capitol riot
FBI Director Christopher Wray testifies before the Senate Judiciary Committee on the January 6th insurrection, in the Hart Senate Office Building on Capitol Hill in Washington, DC on March 2, 2021. (Photo by MANDEL NGAN / POOL / AFP) (Photo by MANDEL NGAN/POOL/AFP via Getty Images)
PHOTO: MANDEL NGAN/POOL/AFP via Getty Images
FBI Director Christopher Wray testifies before the Senate Judiciary Committee on the January 6th insurrection, in the Hart Senate Office Building on Capitol Hill in Washington, DC on March 2, 2021. (Photo by MANDEL NGAN / POOL / AFP) (Photo by MANDEL NGAN/POOL/AFP via Getty Images)
Now playing
02:55
Watch FBI director debunk conspiracy theories pushed by Trump supporters
(CNN) —  

A federal judge in Texas blocked the Trump administration from using billions of dollars in Pentagon funds for the construction of the border wall.

Judge David Briones of the US District Court for the Western District of Texas said Tuesday that the administration cannot use military construction funds to build additional barriers on the southern border.

The ruling is a setback for the administration, which has sought to shore up money for the President’s signature campaign promise of a border wall, and marks yet another high-profile blow the courts have dealt Trump of late on key issues, including his immigration policies and his fight to not turn his tax returns over to Congress. It targets only one set of Pentagon funds, however, leaving in place the money the Supreme Court allowed to be used earlier this year.

In September, Secretary of Defense Mark Esper authorized diverting of $3.6 billion in military construction funds for 11 wall projects on the southern border with Mexico. The Pentagon said at the time that half the money was coming from deferred projects overseas, and the other half was planned for projects in the US.

“DoD is evaluating the injunction right now, and will work with the Department of Justice on the next steps. DoD will comply with all court orders,” said Pentagon spokesman Lt. Col. Chris Mitchell in a statement.

The lawsuit, brought by El Paso County, Texas, and Border Network for Human Rights, argued that President Donald Trump overstepped his authority when he issued a national emergency declaration to gain access to additional funds for his border wall, despite receiving $1.375 billion from Congress.

The complaint also alleges that the declaration doesn’t meet the National Emergencies Act’s definition of “emergency” and pushes back against Trump’s remarks that border barriers led to a drop in crime in El Paso.

“The President’s emergency proclamation was a blatant attempt to grab power from Congress. Today’s order affirms that the President is not a king and that our courts are willing to check him when he oversteps his bounds,” said Kristy Parker, counsel for Protect Democracy, a nonpartisan nonprofit which represented the plaintiffs, in a statement.

House Speaker Nancy Pelosi tied the ruling to others blocking the executive branch from going around Congress.

“Once again, the courts have resoundingly ruled against the President’s attempt to negate our system of separation of powers, which is the genius of our Constitution, by assaulting Congress’s exclusive constitutional power of the purse,” Pelosi said in a statement. “Despite what the President may think, Article II does not mean that he can ‘do whatever he wants.’”

At issue is the military construction funds that have been diverted to build a border wall. In October, Briones found that the plaintiffs had standing to bring the case because of they’ve suffered harm as a result.

The ruling doesn’t apply to the use of other funds for the wall, including counter-drug and Treasury Forfeiture Funds, that have been designated for wall construction.

CNN’s Ryan Browne contributed to this report.