(Reuters) - High-profile U.S. elections in Georgia, Florida and Arizona remained unresolved on Thursday, two days after the vote, with the prospect of legal challenges, recounts and ballot reviews setting the stage for possible weeks of uncertainty.

The still-undecided races will not tip the balance in either chamber of Congress but include contests in parts of the country important to the futures of both parties and potentially to President Donald Trump’s re-election chances in two years.

In Georgia, where Republican Brian Kemp declared victory in the governor’s contest on Wednesday on a narrow lead, campaign officials for Democrat Stacey Abrams on Thursday vowed to pursue litigation to ensure all votes are counted.

In Florida’s U.S. Senate race, Republican Governor Rick Scott, with his lead over Democratic incumbent Bill Nelson narrowing, filed lawsuits on Thursday against election supervisors in two counties accusing them of failing to follow election law. A spokesman for Nelson, Dan McLaughlin, said the lawsuits were politically motivated and “borne out of desperation.”

The Florida governor’s race between Republican Ron DeSantis and Democrat Andrew Gillum also appeared headed for an automatic recount, after DeSantis’ lead narrowed on Thursday, despite Gillum having already conceded.

The hotly contested U.S. Senate race in Arizona between two congresswomen, Democrat Kyrsten Sinema and Republican Martha McSally, appeared days away from a final call, with hundreds of thousands of ballots yet to be tallied. Sinema took a slight lead over McSally on Thursday night as more ballots were counted.

Democrats on Tuesday won a majority in the U.S. House of Representatives after eight years as the minority party in the chamber, while Republicans appeared likely to expand their two-seat advantage in the U.S. Senate.

Another cluster of races in the lower house where votes are still being finalized could add to the Democrats’ new majority, strengthening their hand as they seek to counter Trump’s policies.

Republican U.S. Representative Karen Handel conceded defeat to Democrat Lucy McBath, a gun control advocate, in a suburban Atlanta district on Thursday.

Democrats also picked up two Republican districts in Washington state and New Mexico on Wednesday night, although Republicans held on to an open North Carolina district in a close race.

According to media outlet calls and the data company DDHQ, Democrats now have flipped 32 seats - nine more than they needed to take over the House - with seven Republican-held districts still too close to call, including four in California, where many ballots are yet to be counted.

ABRAMS STILL FIGHTING

Abrams is vying to become the first black woman elected to serve as governor of a U.S. state.

The Georgia contest came under national scrutiny because of Kemp’s role as the state’s top election official. Voting rights groups and prominent Democrats accused the Republican of using his position to suppress minority votes, an allegation he strongly denied.

Kemp said on Thursday he had resigned as Georgia’s secretary of state, saying the move would ensure “public confidence” in the final results, while freeing him to focus on preparing for his new role as governor.

The Abrams campaign told reporters that there were enough uncounted ballots to force a runoff. Under state law, if no candidate reaches 50 percent of the vote, the top two finishers advance to a second vote in December. The election included a third-party candidate.

Kemp’s vote count stood at 50.33 percent as of Thursday, according to unofficial results.

Slideshow ( 4 images )

“We are in this race until we are convinced that every vote is counted,” the Abrams campaign’s chairwoman, Allegra Lawrence Hardy, told a news conference. The campaign said it would file the first of what could be a wave of legal actions on behalf of voters in one county who had difficulty voting absentee.

The Kemp campaign accused Abrams of trying to “steal” the election.

“Stacey Abrams can’t accept the fact that Georgians rejected her radical agenda at the ballot box, so now she’s desperately trying to steal this election in the courtroom,” said campaign spokesman Ryan Mahoney, in a statement.

In Florida, Scott’s lead was narrowing on Thursday. Nelson trailed by around 15,000 votes, or 0.18 percent, below the state’s 0.25 percent threshold for a hand recount.

Slideshow ( 4 images )

“The results are unknown,” said Marc Elias, an attorney for Nelson’s campaign. Historically, Democrats tend to pick up votes in recounts, especially hand recounts, he said.

Elias also pledged legal action if the campaign found that rejected ballots due to signature mismatches were disproportionately hurting minority voters.

Scott’s lawsuits accuse Broward County Supervisor of Elections Brenda Snipes and Palm Beach County Supervisor of Elections Susan Bucher of mishandling the ballot count and preventing observers from having full access as votes are counted. Snipes and Bucher did not immediately respond to a request for comment.

Scott also said he was asking the Florida Department of Law Enforcement to investigate.

“I will not sit idly by while unethical liberals try to steal this election,” Scott told reporters.

In the Florida governor’s race, DeSantis’ lead had winnowed to about 38,500 votes on Thursday afternoon, or 0.47 percent of the vote. The state conducts an electronic recount when the margin falls below 0.5 percent.

Gillum’s campaign said it was prepared for any outcome, including a recount.

“We want every vote counted,” Gillum said in a video posted to Facebook on Thursday. “In spite of the fact that we’re a little bit down in the numbers, we’re hopeful that every single vote will be counted in this race.”