The California state Senate confirmed Rep. Xavier Becerra Xavier BecerraOVERNIGHT ENERGY: Trump casts doubt on climate change science during briefing on wildfires | Biden attacks Trump's climate record amid Western wildfires, lays out his plan | 20 states sue EPA over methane emissions standards rollback 20 states sue EPA over methane emissions standards rollback Investigation underway after bags of mail found dumped in Los Angeles-area parking lot MORE (D-Calif.) as the state’s next attorney general Monday, paving the way for the state to potentially challenge the policies of President Trump.

The 12-term congressman will take his oath of office on Tuesday. Becerra was tapped for the position by Gov. Jerry Brown (D) in early December, less than a month after Trump won the presidential election.

Becerra will replace former California Attorney General Kamala Harris (D), who won a U.S. Senate seat in the November elections. Brown’s move to install Becerra as the deep-blue state’s top lawyer is largely seen as an effort to set up a bulwark against the Trump administration and policies potentially targeting civil rights, environmental issues and immigration.

ADVERTISEMENT

"As Attorney General, Xavier will be a champion for all Californians," Brown said in a statement obtained by the Los Angeles Times.

Former Democratic presidential nominee Hillary Clinton Hillary Diane Rodham ClintonHillicon Valley: FBI chief says Russia is trying to interfere in election to undermine Biden | Treasury Dept. sanctions Iranian government-backed hackers The Hill's Campaign Report: Arizona shifts towards Biden | Biden prepares for drive-in town hall | New Biden ad targets Latino voters FBI chief says Russia is trying to interfere in election to undermine Biden MORE won California by nearly 4.5 million votes in 2016. The state has gone blue in every presidential election since 1988 and is widely considered a Democratic stronghold.