Fisher Industries
Now playing
02:01
WaPo: Trump pushing for GOP donor to get wall contract
US Representative Marjorie Taylor Greene, Republican of Georgia, leaves her office on Capitol Hill on February 4, 2021 in Washington, DC.
NICHOLAS KAMM/AFP/Getty Images
US Representative Marjorie Taylor Greene, Republican of Georgia, leaves her office on Capitol Hill on February 4, 2021 in Washington, DC.
Now playing
03:51
Marjorie Taylor Greene launching 'America First' caucus
US President Joe Biden delivers remarks on Russia at the White House in Washington, DC on April 15, 2021. - The United States announced sanctions and the expulsion of 10 Russian diplomats Thursday in retaliation for what Washington says is the Kremlin's US election interference, a massive cyberattack and other hostile activity.
JIM WATSON/AFP/Getty Images
US President Joe Biden delivers remarks on Russia at the White House in Washington, DC on April 15, 2021. - The United States announced sanctions and the expulsion of 10 Russian diplomats Thursday in retaliation for what Washington says is the Kremlin's US election interference, a massive cyberattack and other hostile activity.
Now playing
02:22
White House backtracks on refugees decision after criticism
Biden speaks from the Treaty Room in the White House on April 14, 2021 in Washington, DC.
Andrew Harnik/Pool/Getty Images
Biden speaks from the Treaty Room in the White House on April 14, 2021 in Washington, DC.
Now playing
02:44
'National embarrassment': Biden reacts to mass shootings
MOSCOW, RUSSIA - APRIL 15:  Russian President Vladimir Putin (L) talks to talks to Foreign Minister Sergey Lavrov during a meeting with Uzbekistan President Islam Karimov in the Kremlin on April 15, 2013 in in Moscow, Russia. Karimov is on a state visit to Russia. (Photo by Sasha Mordovets/Getty Images)
Sasha Mordovets/Getty Images
MOSCOW, RUSSIA - APRIL 15: Russian President Vladimir Putin (L) talks to talks to Foreign Minister Sergey Lavrov during a meeting with Uzbekistan President Islam Karimov in the Kremlin on April 15, 2013 in in Moscow, Russia. Karimov is on a state visit to Russia. (Photo by Sasha Mordovets/Getty Images)
Now playing
02:07
Russia to expel 10 US diplomats in 'tit-for-tat response' to Biden sanctions
Now playing
03:10
Avlon: Here's what we know 100 days since the Capitol riot
A Russian flag flies next to the US embassy building in Moscow on October 22, 2018. - US national security advisor John Bolton is in Moscow holding meetings with senior Russian officials following Washington's weekend announcement of withdrawal from the Cold War-era Intermediate-Range Nuclear Forces Treaty, known as the INF. (Photo by Mladen ANTONOV / AFP)        (Photo credit should read MLADEN ANTONOV/AFP via Getty Images)
Mladen Antonov/AFP/Getty Images
A Russian flag flies next to the US embassy building in Moscow on October 22, 2018. - US national security advisor John Bolton is in Moscow holding meetings with senior Russian officials following Washington's weekend announcement of withdrawal from the Cold War-era Intermediate-Range Nuclear Forces Treaty, known as the INF. (Photo by Mladen ANTONOV / AFP) (Photo credit should read MLADEN ANTONOV/AFP via Getty Images)
Now playing
02:17
Political scientist: US-Russia relations are in the toilet
Now playing
03:05
Avlon calls for training and reform in police departments
WASHINGTON, DC - JUNE 13: Rep. Michelle Lujan Grisham (D-NM) speaks during a news conference on immigration to condemn the Trump Administration's "zero tolerance" immigration policy, outside the US Capitol on June 13, 2018 in Washington, DC. (Photo by Toya Sarno Jordan/Getty Images)
Toya Sarno Jordan/Getty Images
WASHINGTON, DC - JUNE 13: Rep. Michelle Lujan Grisham (D-NM) speaks during a news conference on immigration to condemn the Trump Administration's "zero tolerance" immigration policy, outside the US Capitol on June 13, 2018 in Washington, DC. (Photo by Toya Sarno Jordan/Getty Images)
Now playing
02:39
Governor settles with former campaign staffer who accused her of sexual mistreatment
pool/cnn
Now playing
01:56
Hear what Dr. Gupta said when Cruz went maskless before
Now playing
02:30
Biden's decision to withdraw from Afghanistan is personal for this lawmaker
President Joe Biden speaks from the Treaty Room in the White House on Wednesday, April 14, 2021, about the withdrawal of the remainder of U.S. troops from Afghanistan.=
Andrew Harnik/AP
President Joe Biden speaks from the Treaty Room in the White House on Wednesday, April 14, 2021, about the withdrawal of the remainder of U.S. troops from Afghanistan.=
Now playing
02:10
Why Biden made his Afghanistan announcement in this particular room
U.S. President Joe Biden speaks from the Treaty Room in the White House about the withdrawal of U.S. troops from Afghanistan on April 14, 2021 in Washington, DC. President Biden announced his plans to pull all remaining U.S. troops out of Afghanistan by September 11, 2021 in a final step towards ending America's longest war.
Andrew Harnik/Pool/Getty Images
U.S. President Joe Biden speaks from the Treaty Room in the White House about the withdrawal of U.S. troops from Afghanistan on April 14, 2021 in Washington, DC. President Biden announced his plans to pull all remaining U.S. troops out of Afghanistan by September 11, 2021 in a final step towards ending America's longest war.
Now playing
01:03
Biden: It's time to end the forever war
Kinzinger
CNN
Kinzinger
Now playing
05:56
What Republican lawmaker fears after US troops leave Afghanistan
CNN
Now playing
02:45
Sen. Bernie Sanders: Trump was right about this
Rep. Matt Gaetz, R-Fla., questions witnesses during a House Armed Services Committee hearing on Capitol Hill, Wednesday, April 14, 2021, in Washington.
Manuel Balce Ceneta/AP
Rep. Matt Gaetz, R-Fla., questions witnesses during a House Armed Services Committee hearing on Capitol Hill, Wednesday, April 14, 2021, in Washington.
Now playing
02:59
Women detail late-night parties with Gaetz
(CNN) —  

A federal judge on Friday night blocked President Donald Trump from tapping into Defense Department funds to build parts of his US-Mexico border wall.

In a 56-page ruling, Judge Haywood Gilliam of the Northern District of California blocked the administration from moving forward with specific projects in New Mexico and Arizona, saying Trump couldn’t disburse the funds without congressional approval. The lawsuit that prompted the ruling was filed by the American Civil Liberties Union on behalf of the plaintiffs, the Sierra Club and Southern Border Communities Coalition.

Although Friday’s ruling does not prevent the Trump administration from using funds from other sources to build the projects, it’s a setback for the President on a signature agenda item that has consistently been thwarted by Democrats in Congress. Construction on the projects affected by the ruling could have begun as early as Saturday, according to the ruling.

“The position that when Congress declines the Executive’s request to appropriate funds, the Executive nonetheless may simply find a way to spend those funds ‘without Congress’ does not square with fundamental separation of powers principles dating back to the earliest days of our Republic,” writes Gilliam, a Barack Obama appointee.

He added, “because the Court has found that Plaintiffs are likely to show that Defendants’ actions exceeded their statutory authority, and that irreparable harm will result from those actions, a preliminary injunction must issue pending a resolution of the merits of the case.”

The decision comes more than three months after Trump declared a national emergency to divert billions of dollars from the Pentagon for the construction of his border wall. The proclamation prompted a slew of lawsuits.

The lawsuit that prompted Friday’s ruling argues that the declaration was “made solely out of disagreement with Congress’s decision about the proper funding level, location, and timetable for constructing a border wall.” It also alleges that the construction of the wall would negatively impact the environment and communities along the border.

CNN has reached out to the Justice Department for comment. The ACLU hailed Gilliam’s decision.

“This order is a win for our system of checks and balances, the rule of law, and border communities. The court blocked all the wall projects currently slated for immediate construction. If the administration begins illegally diverting additional military funds, we’ll be back in court to block that as well,” Dror Ladin, an ACLU staff attorney, said in a statement.

In February, Trump declared a national emergency to unlock billions of dollars in federal funds to build a wall on the southern border, bypassing Congress after lawmakers refused to meet his multi-billion dollar request for border wall funds. Trump and his top officials had argued that there was a “crisis” on the southern border, though Democrats pushed against that argument, saying there’s no security crisis but rather a humanitarian one.

The decision to invoke a national emergency and bypass Congress was met with bipartisan skepticism. Both chambers of Congress sought to overturn the declaration, but Trump vetoed the measure and the House failed to overturn the veto.

The Democratic-led House of Representatives also sued in an effort to stop Trump from using Defense funds for the border wall. A federal judge heard arguments in the case this week, though he did not say when he would rule.

CORRECTION: This story has been updated to correctly state a federal judge blocked the administration from moving forward with specific projects in New Mexico and Arizona.