International desk, December 13: Doug Jones has become the first Democrat in 25 years to win a US Senate seat for Alabama after a bitter campaign against Republican Roy Moore.
Mr Moore has so far refused to concede. All votes have now been counted.
He fought a controversial campaign, in which allegations surfaced of sexual misconduct with teenage girls.
Mr Moore, a firebrand conservative who has said he believes that homosexual activity should be illegal, has repeatedly denied the claims against him.
The contest was for the seat vacated by US Attorney General Jeff Sessions earlier this year.
Mr Jones won with 49.9% of the vote, to Mr Moore’s 48.4%.
The margin of victory is well above the half a percentage point which would have triggered a recount.
But Alabama Secretary of State John Merrill, quoted by the Washington Post, said a recount could still be ordered if a review of write-in votes and military ballots narrowed it to within this range.
There was a total of 1.7% of votes for write-ins, where voters wrote in names of candidates who did not appear on the ballot paper.
Even if the final result is outside the 0.5% margin, either candidate can request a recount if they are prepared to pay the costs.
Mr Moore, a 70-year-old former judge, told his supporters it was not yet over.
“We’ve been painted in an unfavourable and unfaithful light,” he said. “Realise that when the vote is this close that it’s not over.”
Although Mr Moore did not concede, President Trump congratulated Mr Jones in a tweet shortly after US media declared him the winner, adding that “Republicans will have another shot at this seat in a very short period of time”.
The Senate seat will come up for re-election in November 2018.
But it was allegations of sexual misconduct made by several women, some when they were teenagers, that dogged Mr Moore’s campaign and drew national attention to the special election.
One accuser alleges Mr Moore molested her when she was 14 while another claims he sexually assaulted her in a car while she was a teenager.
The claims against Mr Moore came amid a wave of allegations of sexual misconduct against prominent figures that has led to the resignation of three politicians.