California is likely to sue President Trump over his emergency declaration to fund a wall on the U.S.-Mexico border, the state attorney general said Friday.

Attorney General Xavier Becerra and Gov. Gavin Newsom, both Democrats, told reporters there is no emergency at the border and Trump doesn't have the authority to make the declaration.

"No one in America is above the law, not even the president of the United States," Becerra said. "The president does not have power to act frivolously."

TRUMP SCOLDS CNN'S ACOSTA AS ANGEL MOMS CONFRONT REPORT OVER 'AGENDA'

Trump declared a national emergency earlier in the day to bypass Congress to use money from the Pentagon and counterdrug efforts to fulfill his promise of completing the border wall. The president said immigrants entering the U.S. illegally were invading the country.

TRUMP DECLARES EMERGENCY AT BORDER

The announcement was immediately met with resistance from members of Congress. Becerra and Newsom said they were reviewing the emergency declaration but were likely to join other states in suing. They did not say when the state plans to file a lawsuit or what specific legal arguments it will use.

But both challenge the notion that there was a true emergency. Becerra said past presidents used such declarations after the Sept. 11 terrorist attacks and the Iran hostage crisis in 1979.

Becerra pointed to Trump's comments earlier in the day that he did not need to issue the emergency declaration but was doing so to accelerate plans for his border wall. He suggested Trump hopes any legal challenges will ultimately be determined by the U.S. Supreme Court. Five of the court's 9 members were appointed by Republican presidents.

CLICK HERE TO GET THE FOX NEWS APP

"He knows he will lose in court and that he is hoping to use the U.S. Supreme Court as a tool in his game to fulfill a campaign promise," Becerra said.

Newsom argued Trump's plan to use money on the border wall that had been dedicated for military installations and combating drugs would hurt California.

Newsom on Monday signed an executive order to pull most of California's 360 National Guard troops from the Southern border but said 100 will remain there to help federal officials combating transnational drug crime.

"Interdiction policies we are engaged in that we want to advance in California now are being put at risk because of this political crisis that's being manufactured," Newsom said.

Building a wall, he argued, will not stop the flow of illegal drugs that come across ports of entry in vehicles or by other means.

Becerra has filed at least 45 lawsuits against the Trump administration.