Kimberlee Weaver, left, an election worker for the Sacramento County Registrar of Voters, hands an "I Voted" sticker to a voter during the state's primary elections, Tuesday, June 5, 2018, in Sacramento, Calif. (AP Photo/Rich Pedroncelli)

SACRAMENTO, Calif. (AP) — The intrigue in the race to replace departing California Gov. Jerry Brown isn't who wins — it's who comes in second in Tuesday's primary, one of hundreds of contests across the state that could solidify Democratic dominance and reshape the fight for control of the U.S. Congress.

Brown, whose four terms spread over more than four decades are the most in state history, has not endorsed a successor. But a fellow Democrat, Lt. Gov. Gavin Newsom, is the clear front-runner.

Because of California's "jungle primary," the top two vote-getters — regardless of party — advance to a runoff in November.

Newsom has said he would prefer to face a Republican and it's understandable because Democrats dominate in California. Republican registration has fallen for years and the party has not won a statewide contest in more than a decade, when Arnold Schwarzenegger was re-elected governor in 2006.

The election is pivotal for Republicans looking to end their mounting struggles and gain a stronger foothold in the nation's largest state. For Democrats, who risk getting shut out of key congressional races, it has massive implications for their push to retake control of the U.S. House.

Democrats need to gain 23 districts nationally to flip the majority in the House, and a key part of their strategy is expanding their 39-14 advantage in the home state of Democratic leader Nancy Pelosi.

Some counties reported light traffic at polling stations Tuesday but officials pointed out many voters were mailing in their ballots.

In the San Francisco Bay Area, for example, most of the voters at Berkeley City Hall were dropping off ballots they had received by mail. In the Central Valley, Kern County Clerk Auditor Susan Rooney said 49,000 of the 233,000 mail ballots sent out had been turned in as of Tuesday morning.

Still, some people were eager to vote.

Edgar Mito, a 77-year-old retired truck loader in Los Angeles who is a registered Democrat, voted for state Treasurer John Chiang for governor and for U.S. Sen. Dianne Feinstein because "she's got the connections and the power."

He said he voted because, "it's my duty."

"And I don't want what happened with Trump to happen again," he said, adding that he was away during the presidential election and didn't cast a ballot. "I think Hillary was going to win in a landslide. So now I want to get my word in."

The key battlegrounds are seven districts, mostly in Southern California, where Hillary Clinton defeated then-candidate Donald Trump in the 2016 presidential race, making the districts targets this year.

Democrats hope to avoid their nightmare scenario — the vote is split among a crowded field of Democrats and two Republicans get the only slots in the November election.

Feinstein is seeking another six-year term at age 84 and is expected to cruise into November when her likely opponent will be fellow Democrat Kevin de Leon, the former state Senate leader. There are 11 unknown Republicans in the race and none was backed by the party.

Elsewhere, San Francisco will choose a new leader following the sudden death of Mayor Ed Lee, and a Northern California judge, Aaron Persky, faces a recall for the light sentence he gave a former Stanford University swimmer who sexually assaulted a drunken woman.

In the race for governor, recent polls showed a surge by Republican businessman John Cox, who was endorsed by President Donald Trump. Meanwhile, former Democratic Los Angeles Mayor Antonio Villaraigosa, seen as a major threat to Newsom when the campaign started, has tailed off. He campaigned furiously in the final days to try to close the gap.

The other major candidates are Chiang and former education Superintendent Delaine Eastin, both Democrats, and Republican Assemblyman Travis Allen.

The campaign has played out largely under the radar despite millions of dollars in spending by candidates and their independent supporters. The closing days of the race were marked as much by dueling complaints over that spending as by differences between the candidates, their priorities and their styles of governing.

Sean Spicer, 42, a San Diego resident who works in marketing, also said he voted because it's a civic duty — though he doesn't like California's top two primary system and said it is showing its shortcomings this year.

"We have 7,000 candidates vying for governor and so the top two primary system means you end up voting for people who you think can win not who you believe in," he said.

Evelyn Corado, a 50-year-old preschool teacher from Huntington Beach and naturalized U.S. citizen from El Salvador, chose Villaraigosa for governor.

"He was already mayor of Los Angeles and I saw him do a lot for the Hispanic community," she said after casting her ballot.

Cox, a businessman from San Diego has run unsuccessfully for a number of offices in his native Illinois but gained footing among California Republicans as the campaign progressed. He and Allen both aligned with Trump — Allen repeatedly noted Cox voted for Libertarian Gary Johnson in the 2016 presidential election; Cox said he regrets the choice — but the president chose Cox for his endorsement.

Trump is a popular punching bag for Democrats and unpopular with independents but maintains strong support and loyalty from the GOP base.

"I don't think there will be a blue wave at all," registered Republican Keith Smith, 66, said outside a Solana Beach polling place where he voted for Cox.