(Want to get this briefing by email? Here’s the sign-up.)

Good morning.

Here’s what you need to know:

Parties avoid worst-case scenarios

• Both Democrats and Republicans saw reason for hope after the primaries on Tuesday. Here’s our full report on the voting, as well as five takeaways.

The Democrats, who had more on the line, increased their prospects of winning control of the House this fall by securing ballot spots in multiple California districts. The party had feared being shut out of some races because of the state’s quirky primary system.

• For their part, the Republicans secured a spot in California’s governor’s race, which is seen as important to voter turnout in November. Read more about that race, which will offer a stark ideological choice between John Cox, a Republican businessman endorsed by President Trump, and Gavin Newsom, the Democratic lieutenant governor who has promised a “Marshall Plan” for the state.

Paul Ryan rejects “Spygate” claims

• There are signs of Republican resistance on Capitol Hill.

On Wednesday, Mr. Ryan, the House speaker, joined other lawmakers in dismissing President Trump’s claims that the Justice Department had placed a spy in his campaign. He also said that Mr. Trump should not to try to pardon himself.