With 40 days to go until the June 5 primary, two Republican candidates for governor are fighting for second place, and a little-known GOP candidate could also make waves in the campaign for U.S. Senate, according to a new poll.

The poll, released Thursday by the UC Berkeley Institute for Governmental Studies, found Lt. Gov. Gavin Newsom, a Democrat, continuing to lead the field for governor with 30 percent among likely voters, followed by Republicans John Cox, a San Diego County businessman, at 18 percent, and Travis Allen, an Orange County state assemblyman, at 16 percent.

That’s a change from previous results, which had Los Angeles Mayor Antonio Villaraigosa, a Democrat, in second or third place. Villaraigosa dropped to 9 percent in the IGS poll, from 17 percent in the survey conducted by the group in December. He was followed by Democrats John Chiang, the state treasurer, at 7 percent, and Delaine Eastin, the former state schools chief, at 4 percent.

Only 13 percent of likely voters surveyed said they were undecided, a notable decrease from previous polls. The top two candidates, regardless of party affiliation, will advance to the November general election.

“A lot of the Republican voters are now giving more attention to the governor’s race, and the beneficiary of that are Cox and Allen,” said Mark DiCamillo, the poll’s director. At the same time, “Newsom is scoring much better than he did within the Democratic rank and file base.”

But a lot could change over the next six weeks — major statewide TV advertising has just begun. An independent pro-charter school group is spending more than $1 million a week on pro-Villaraigosa ads, while Newsom’s campaign has also turned to the airwaves with a similar-sized ad buy. Chiang’s campaign launched his own TV ad on Thursday, playing up his fiscal leadership.

The pro-Villaraigosa spots started airing while the poll was still in the field, while the Newsom and Chiang ads had not yet appeared.

Meanwhile, in the Senate race, the poll found Sen. Dianne Feinstein at 28 percent and her main Democratic challenger, former State Senate president Kevin de León, at 11 percent. But little-known Republican candidate James Bradley, a healthcare executive and military veteran, came in only slightly behind at 10 percent, well within the margin of error of de León.

That result challenges the conventional wisdom in California political circles that Feinstein and de León are likely headed to a November face-off. Most previous public polls didn’t ask respondents about Bradley, who’s based his campaign on a pro-Trump “America First” platform. He’s one of 11 under-the-radar GOP candidates running for the seat.

“This one name just pops out of the pack,” said DiCamillo. “I had never heard of the man before.” He said it likely wasn’t due to an ordering effect — while the names in the poll were ordered alphabetically, Bradley wasn’t the first GOP candidate listed. He may have attracted respondents based on his title listed on the ballot, “chief financial officer,” DeCamillo said.

A pro-de León SuperPAC has started airing some ads supporting the Los Angeles senator. Billionaire Democratic donor Tom Steyer has also endorsed de León and suggested this month he may be willing to bankroll further efforts to prop him up.

Related Articles Poll: California voters increasingly view Trump as prejudiced, but likely to stay in office

Poll: Newsom, Villaraigosa and Cox lead race for California governor Political observers expect Newsom and Feinstein would have easier races in November if they’re facing Republican candidates instead of Dem-vs-Dem throwdowns. If Republican candidates are shut out of the marquee races in November, that could also dent GOP turnout in crucial congressional races across the state.

The poll, which was conducted online between April 16 and April 22, surveyed 1,738 likely voters about the Senate race and 874 likely voters about the governor’s race. It had a margin of error of plus or minus 3.5 percentage points for the Senate race and plus or minus 4 percentage points for the governor’s race.