Republican John McCain picked up the final prize of the US presidential election on Wednesday, winning the hotly contested battleground of Missouri by a narrow margin.
More than two weeks after the vote, results showed him beating president-elect Barack Obama there by fewer than 4,000 votes.
The Missouri secretary of state's office showed 1,445,812 votes for McCain and running mate Sarah Palin, to 1,441,910 votes for national winner Obama and his running mate Joe Biden.
The state brings the final tally in the electoral college to 365 for Obama to 173 for McCain.
Meanwhile, two US Senate races remain undecided as Democrats hope to snag the 60 seats needed to override Republican opposition in the 100-seat body.
A recount was underway in Minnesota, where Republican Senator Norm Coleman was narrowly leading Democrat Al Franken, a well-known comedian.
In Georgia, former president Bill Clinton took to the campaign trail Wednesday for Democratic candidate Jim Martin in a fierce run-off election against Senator Saxby Chambliss, after neither man earned more than 50 per cent of the vote in the Nov 4 election.
Voters in Georgia, where an unusual state law requires runoffs in the absence of an outright majority, will go back to the polls Dec 2.
On Tuesday, one remaining Senate race was decided, with veteran Alaskan Republican Senator Ted Stevens narrowly losing his bid for re-election to the mayor of Anchorage, Democrat Mark Begich, 46.
Stevens, 85, the longest-serving Republican in the Senate, had faced a tough battle after being indicted on corruption charges earlier this year and convicted at trial just days before the election.