US President, Donald Trump, suffered a humiliating blow as Doug Jones becomes the first Democrat in 25 years to win a US Senate seat for
Alabama after a bitter campaign against Republican Roy Moore, who faces several accusations of sexual harassment.
Mr Moore has so far refused to concede. All votes have now been counted.
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.