SACRAMENTO—California Attorney General Xavier Becerra on Wednesday used the occasion of his upcoming 100th day in office to renew his promise to defend the state’s environmental and immigration policies from any interference posed by the Trump administration.

Becerra’s role as a leading Trump foil was given new prominence this week as the state Legislature let expire its three-month contract with Covington & Burling for guidance on engaging with the new administration in Washington.