The Associated Press called the race for Janz at 11:22 p.m. PDT.

But Democrats are emboldened by Nunes’s ardent support of Trump during the investigation into Russia’s election meddling, which has drawn headlines and made Nunes a polarizing political figure.

Janz, a first-time candidate, was the clear Democratic front-runner in the primary race. Since California’s “jungle primary” allows the top two candidates regardless of party to advance to the general election, he had been expected to move forward.

Even though it’s not clear whether the controversy surrounding Nunes will be enough to make the race competitive, Janz has effectively parlayed the news into a strong fundraising haul, having raised almost $1.9 million this cycle.