The California lawsuit came as private contractors prepare to build eight prototypes of the wall in San Diego.

California on Wednesday sued the Trump administration to stop the construction of a proposed wall on the U.S. border with Mexico, arguing that the federal government is overstepping its authority by waiving environmental reviews and other laws.

Asked about the lawsuit at an appearance in San Diego, U.S. Attorney General Jeff Sessions said he expected to prevail in legal challenges to the wall one of the President’s key campaign pledges.

“The United States government has the control of that border and a responsibility to secure it,” he told reporters at a landing dock where he touted a record set by the Coast Guard for cocaine seizures.

The California lawsuit came as private contractors prepare to build eight prototypes of the wall in San Diego.

The administration “has once again ignored laws it doesn’t like in order to resuscitate a campaign talking point to build a wall on our southern border,” California Attorney General Xavier Becerra said while discussing the case at a news conference in a state park where a fence juts into the Pacific Ocean to separate the U.S. and Mexico.

In a letter to Homeland Security, California Gov. Jerry Brown said a wall construction would “wreak havoc on an important and well-used commercial corridor.”

The lawsuit, filed by Democrat Becerra, largely mirrors two others by environmental advocacy groups that allege the administration overstepped its authority to speed up the construction of the wall.

Aides to Mr. Becerra believe a victory in the lawsuit would apply to the entire border, stretching nearly 3,200 km through California, Arizona, New Mexico and Texas.

At issue is a 2005 law that gave the Homeland Security secretary broad powers to waive dozens of laws for border barriers, including the National Environmental Policy Act, Clean Air Act and the Endangered Species Act.

Two waivers

The Trump administration has issued two waivers since August, both in California. President George W. Bush’s administration issued the previous five waivers in 2008.

Legal challenges to border barriers have failed over the years amid concerns about national security. The Congressional Research Service said in a report this year for members of Congress that it saw no legal impediment to Mr. Trump’s proposed wall if deemed appropriate for controlling the border.

Mr. Becerra’s lawsuit like the one filed by the Sierra Club, Defenders of Wildlife and Animal Legal Defense Fund contends that the government’s power to waive the laws expired in 2008, when it met a congressional requirement for erecting fences on about one-third of the border.

The Center for Biological Diversity argues in its lawsuit that the 2005 law “cannot reasonably be interpreted to exempt compliance with the waived laws in perpetuity.”

Timothy Patterson, a supervising California deputy attorney general, said he expected the three lawsuits to be consolidated under one federal judge, possibly Gonzalo Curiel, because he was assigned the earliest one.

Mr. Trump repeatedly criticized Mr. Curiel during the campaign for his handling of lawsuits against now-defunct Trump University, suggesting the judge’s Mexican heritage carried a bias.

Mr. Becerra’s legal action is the latest in a series of lawsuits he has filed against the administration. He has sued over Mr.Trump’s decision to halt a program that protects young immigrants from deportation and has battled with the U.S. Environmental Protection Agency over regulations.

During his appearance in San Diego, Mr. Sessions also called attention to Coast Guard seizures of more than 227 tonnes of cocaine during the fiscal year ending Sept. 30.

In addition, he reiterated opposition to legalization of marijuana for recreational use three months before pot sales are expected to begin in California.

Mr. Sessions said federal law prohibiting marijuana still applied. “It doesn’t strike me that the country would be better if it’s being sold at every street corner,” he said.