Judge Gonzalo P. Curiel and President Donnald Trump
US District Court/Chip Somodevilla/Getty Images
Judge Gonzalo P. Curiel and President Donnald Trump
Now playing
02:58
Judge taunted by Trump to hear border wall case
trump border wall explainer animation orig nws_00003622.jpg
trump border wall explainer animation orig nws_00003622.jpg
Now playing
02:34
What it would take to build Trump's border wall
us mexico border fence jpm orig_00004913.jpg
CNN
us mexico border fence jpm orig_00004913.jpg
Now playing
01:12
What the US-Mexico border really looks like
Now playing
03:06
Fact Check: Construction on a new border wall?
CNN
Now playing
01:09
Trump orders National Guard troops to border
US President Donald Trump (C) is shown border wall prototypes in San Diego, California on March 13, 2018. / AFP PHOTO / MANDEL NGAN        (Photo credit should read MANDEL NGAN/AFP/Getty Images)
MANDEL NGAN/AFP/Getty Images
US President Donald Trump (C) is shown border wall prototypes in San Diego, California on March 13, 2018. / AFP PHOTO / MANDEL NGAN (Photo credit should read MANDEL NGAN/AFP/Getty Images)
Now playing
01:32
Trump's military guard may face legal hurdles
A member of the Arizona National Guard talks on the phone on April 9, 2018 at the Papago Park Military Reservation in Phoenix.
Arizona deployed its first 225 National Guard members to the Mexican border on Monday after President Donald Trump ordered thousands of troops to the frontier region to combat drug trafficking and illegal immigration. "The Arizona National Guard will deploy 225 members of the Guard today to support border security measures," the state militia said in a statement.
 / AFP PHOTO / Caitlin O'Hara        (Photo credit should read CAITLIN O'HARA/AFP/Getty Images)
CAITLIN O'HARA/AFP/Getty Images
A member of the Arizona National Guard talks on the phone on April 9, 2018 at the Papago Park Military Reservation in Phoenix. Arizona deployed its first 225 National Guard members to the Mexican border on Monday after President Donald Trump ordered thousands of troops to the frontier region to combat drug trafficking and illegal immigration. "The Arizona National Guard will deploy 225 members of the Guard today to support border security measures," the state militia said in a statement. / AFP PHOTO / Caitlin O'Hara (Photo credit should read CAITLIN O'HARA/AFP/Getty Images)
Now playing
03:09
Here's what border troops are actually doing
trump border wall cali
CNN
trump border wall cali
Now playing
02:31
Trump posts misleading tweet on border wall
A group of Central Americans crossed into Mexico in March as part of a migrant "caravan" heading to the United States border.
CNN
A group of Central Americans crossed into Mexico in March as part of a migrant "caravan" heading to the United States border.
Now playing
01:18
What the caravan crossing Mexico really wants
pool
Now playing
01:17
Trump touts wall prototypes in San Diego
Paul Ryan defends border wall_00000000.jpg
Paul Ryan defends border wall_00000000.jpg
Now playing
02:07
Paul Ryan defends $14 billion border wall
Rep. Marsha Blackburn newday
CNN
Rep. Marsha Blackburn newday
Now playing
01:17
GOP lawmaker on border wall: It will get done
Now playing
01:06
GOP Sen.: Trump border wall a metaphor
Border Series Arizona
Tim Foley Video
Border Series Arizona
Now playing
03:43
Illegal border crossing can be a dangerous journey
Enrique Peña Nieto
Mexican State TV
Enrique Peña Nieto
Now playing
00:50
Mexico's president: We will not pay for wall
Washington CNN —  

A federal judge whose impartiality was questioned by then-candidate Donald Trump because of his Mexican heritage is set to hear a case involving the President’s border wall.

The case, which is being brought by the state of California and multiple groups, challenges the Department of Homeland Security’s power to waive environmental laws in their construction of a border wall.

District Court Judge Gonzalo Curiel is scheduled to hear the case on Friday in his San Diego courtroom.

The plaintiffs argue that the Trump administration is violating the Constitution and state laws because it is not “conducting any environmental review or complying with any environmental protection laws.” But the federal government, citing a 1996 immigration law, says it has the authority to waive environmental laws in order to build the wall, a top campaign promise of Trump’s.

The administration notes that previous challenges to this law have been unsuccessful, saying it “has been repeatedly upheld in the face of legal challenges.”

Trump came under fierce criticism in June 2016 when he said Curiel, who was born in Indiana, was biased due to his Mexican heritage. At the time, the judge was overseeing a lawsuit against Trump University, which was ultimately settled after Trump won the White House.

“We are building a wall. He’s a Mexican. We’re building a wall between here and Mexico,” Trump told CNN’s Jake Tapper in 2016.

The attacks on Curiel were widely condemned and characterized as racist by both Democrats and Republicans. House Speaker Paul Ryan said the criticism was the “the textbook definition of a racist comment.”

Last year, Curiel also heard a case concerning a man who claimed he was improperly deported by the Trump administration.