Democrat Xavier Becerra, the former U.S. congressman chosen by Gov. Jerry Brown to serve as California’s foil to the Trump administration, prevailed Tuesday in the race for state attorney general.

With 92 percent of the state’s precincts reporting, Becerra had secured 61 percent of the vote in defeating Republican Steven Bailey, a retired El Dorado County Superior Court judge.