Rallies for and against Donald Trump's "big beautiful border wall" with Mexico are expected to mark his first visit to California as president amid growing tensions between his administration and the state over immigration enforcement.

Trump will visit eight towering prototypes of his planned wall Tuesday before addressing Marines in San Diego and attending a fund-raiser in Los Angeles.

A top federal immigration official lashed out at some of the state's elected leaders ahead of the visit. Thomas Homan, U.S. Immigration and Customs Enforcement's acting director, singled out Gov. Jerry Brown, U.S. Sen. Dianne Feinstein and House Minority Leader Nancy Pelosi on Monday for recent criticism of a spate of immigration arrests in the state and a federal lawsuit challenging state laws that limit cooperation on immigration.

Homan said Pelosi's comments about federal agents terrorizing immigrant communities were "beyond the pale" and challenged Feinstein to change laws if she disagreed with how they are enforced.

Protests are also being planned across the border in Tijuana, Mexico, when Trump will examine the 30-foot-tall prototypes built to fulfill his signature campaign promise. Trump has insisted Mexico pay for the wall. Mexico has adamantly refused.

Organizers on both sides were urging people to remain peaceful after recent scuffles at rallies in Southern California, including brawls at a Dec. 9 rally near where the prototypes stand.

San Diego is the largest city on the U.S.-Mexico border to formally oppose his plans, passing a resolution in 2017. Republican Mayor Kevin Faulconer — who is not expected to meet with Trump during his visit — did not support the resolution but also did not veto it. The mayor's office said Faulconer has been clear in his opposition to walls along the border but he did not want to blacklist companies involved in the construction of the prototypes.

California Gov. Jerry Brown on Monday invited Trump to also visit the state's high-speed rail construction projects. "You see, in California we are focusing on bridges, not walls," Brown, a Democrat, said in a letter sent to Trump.