President Trump congratulated Democrat Doug Jones on Tuesday for his narrow upset over Republican Roy Moore, in a tweet free of the rancor many have come to expect from the president's Twitter feed.

"Congratulations to Doug Jones on a hard fought victory," Trump tweeted. "The write-in votes played a very big factor, but a win is a win. The people of Alabama are great, and the Republicans will have another shot at this seat in a very short period of time. It never ends!"

Trump vocally supported Roy Moore during the campaign, even after reports surfaced about accusations of sexual misconduct against Moore. Trump, who faces his own allegations of sexual harassment and assault, said he supported Moore because a Republican vote in the Senate was too important to risk.

As recently as Tuesday morning Trump denounced Jones as a puppet for House Minority Leader Nancy Pelosi and Senate Minority Leader Chuck Schumer.