California and New Mexico are asking a federal judge to permanently block President Trump Donald John TrumpSteele Dossier sub-source was subject of FBI counterintelligence probe Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' Trump 'no longer angry' at Romney because of Supreme Court stance MORE from using military funds to build a border wall in those states.

In a court filing on Thursday, attorneys for the states asked Judge Haywood Gilliam to rule against the Trump administration in their efforts to build a border wall in their states, claiming that it will cause lasting harm to the environment and will infringe upon those states' rights.

The filing notes that Gilliam found in a prior ruling that states seeking to stop Trump from using military funds for a border wall are likely to win their lawsuit. Thursday’s motion relates to $2.5 billion in Department of Defense (DOD) funds that the president has tapped to build the border wall.

ADVERTISEMENT

“California and New Mexico both request that this Court declare that the transfer and use of DOD funds toward Defendants’ proposed border wall is unlawful and unconstitutional,” the court document reads, calling for Gilliam to issue an injunction.

“Absent an injunction, [the administration] will be unconstrained in their bypassing of the States’ environmental laws and regulations in constructing border barriers, infringing California’s and New Mexico’s sovereign interests in enforcing their laws. This sovereign injury is in and of itself sufficient to establish irreparable harm,” the filing reads.

“In addition, California and New Mexico would suffer irreparable harm to their natural resources and wildlife protected by those laws. Finally, as this Court has already held, the balance of the equities and public interest favor enjoining [the administration’s] unlawful conduct.”

Gilliam, an Obama appointee, ruled last month to grant a preliminary injunction to stop Trump from using some Pentagon funds for a border wall. The president declared a national emergency earlier this year to divert those dollars toward a border wall.

Trump issued the order at the end of a record 35-day-long partial government shutdown after Congress refused to include his requested amount of funding for border security in a government spending bill.

Several lawsuits have been filed to challenge Trump’s authority to divert the military funds, arguing that only Congress has the authority to allocate federal funds.

Gilliam’s injunction was issued in a lawsuit brought forward by several groups, including the American Civil Liberties Union and the Sierra Club. The Trump administration has appealed that order, and the 9th Circuit Court of Appeals will hear arguments in the case next week.

But the judge declined to issue a preliminary injunction in a lawsuit brought forward by a group of states, led by California.

The House has also sued in D.C. court to stop Trump from using the DOD funding for a border wall. But Judge Trevor McFadden, a Trump appointee, ruled last week that the House wasn’t allowed to sue the administration.

The House has appealed that ruling to the D.C. Circuit Court of Appeals.