Democrat Doug Jones has defeated Roy Moore in Alabama’s Senate election, according to a projection from the Fox News Decision Desk.

Moore, the former chief justice of Alabama’s Supreme Court, has faced multiple allegations he pursued romantic relationships with teenage girls while he was in his thirties — accusations that have dramatically shaken up the race. He has denied the claims.

Alabama hasn’t elected a Democrat to the Senate in 25 years.

Trump, who endorsed Moore even as other top Republicans in Washington called on the nominee to drop out of the race, on Tuesday reiterated his support by arguing Moore would vote for his agenda in Congress.

“The people of Alabama will do the right thing… Roy Moore will always vote with us,” President Trump tweeted.