A federal judge Friday partially blocked President Donald Trump's plan to fund his wall along the U.S.-Mexico border — a move that the White House will likely appeal.

Approximately $1 billion was blocked. The money was to come from funding the White House planned to transfer from the Department of Defense under the president's national emergency plan, according to a preliminary ruling. In addition, the Trump administration cannot construct a barrier in areas near Yuma, Arizona and El Paso, Texas.

The ruling from Haywood Gilliam, Jr., of the U.S. District Court of the Northern District of California, however, does not prevent the Trump administration from allocating funds from their other sources.