June 6 (UPI) -- Primaries in eight states ended Tuesday night, further setting the stage for the midterms this November, but some of the races won't be decided for a while.
Results for candidates in several California races were up in the air Wednesday as ballots continued to be tallied. Mail-in ballots are among the factors causing the delay, as they are valid if postmarked by Tuesday.
A printing glitch also caused delays, omitting 118,522 names on voter rolls in several precincts leaving those ballots to be verified.
California has a top-two primary system, which means the top two winners, regardless of party, advance to face off in November's general election.
Lt. Gov. Gavin Newsom finished first in a crowded gubernatorial field of candidates from both major parties, as well as independent and third party candidates. Newsom won 34 percent of the state's vote.
He will face Republican John Cox, who won about 26 percent, in the election.
The former mayor of San Francisco, Newsom is expected to easily beat Cox, who's backed by President Donald Trump.
It could take more than a week before all the votes are tallied in three congressional districts Democrats are hoping to flip. Rep. Dana Rohrabacher in the 48th District and Assemblywoman Young Kim in the 39th, both Republicans, are projected to advance in their races, but their opponents are not yet known. CNN projected Wednesday one of three Democrats will advance to face Republican Diane Harkey in November in the 49th District.
Longtime Sen. Dianne Feinstein will square off with Democratic state Sen. Kevin de León.
Incumbent Republican Gov. Kay Ivey won her primary with 56 percent support, easily beating Huntsville, Ala., Mayor Tommy Battle, who finished a distant second with 25 percent.
Ivey, who stepped into the governor post after the resignation of Robert Bentley last year, will seek a full term in November.
Her opponent will be Democrat Walt Maddox, the longtime mayor of Tuscaloosa, Ala., who won his party's primary with 55 percent of the vote.
Incumbent Republican Gov. Kim Reynolds ran unopposed in her party's primary and will face Democrat Fred Hubbell, who cruised to his party's nomination Tuesday with 55 percent.
In Iowa's 1st District, incumbent Republican Rep. Rod Blum will face state Rep. Abby Finkenauer, who won the Democratic primary with 67 percent.
In the state's 3rd District, incumbent Republican Rep. David Young will face Democrat Cindy Axne, who won 58 percent of her party's vote.
Incumbent Republican Sen. Roger Wicker easily won his primary with 83 percent of ballots. His opponent is yet to be determined, as Democrats Howard Sherman and David Baria closed voting within one point of each other -- Sherman with 32 percent and Baria with 31 percent.
The two Democrats will advance to a runoff to decide who will face Wicker in November.
Incumbent Democrat Sen. Jon Tester ran unopposed in his party's primary, but several contenders lined up to take the Republican nomination to challenge him in November.
Montana State Auditor Matt Rosendale won 34 percent of the vote to edge out Judge Russ Fagg.
Tester will face Rosendale, who now has his party's backing and millions of dollars in campaign funds the GOP plans to use to oust Tester in November.
Incumbent Democrat Sen. Robert Menendez, indicted in 2015 on corruption charges that were dismissed earlier this year, won his party's primary with 62 percent, beating challenger Lisa McCormick, a political newbie who won 38 percent.
Menendez's opponent in November will be Republican businessman Bob Hugin, who won 75 percent in his primary.
New Mexico's 2nd District has long been Republican territory, and the GOP looks to fill Rep. Steve Pearce's seat in the fall. He vacated the seat to run for governor.
Democrats on Tuesday overwhelmingly chose attorney Xochitl Torres Small, who won 73 percent support against Madeline Hildebrandt. He will face Republican Yvette Herrell in November. She won her primary with 49 percent.
Pearce, who ran unopposed in his party's primary for governor, will face Democrat Michelle Lujan Grisham in the governor's race.
Republican Kristi Noem won the GOP primary for governor Tuesday with 56 percent, and has a chance to become the state's first female gubernatorial leader.
Noem will face Democrat Billie Sutton, who ran unopposed, on election day.