On Tuesday night, former disgraced Alabama state Supreme Court Justice Roy Moore beat Republican incumbent Luther Strange in a special election for the state's Senate seat left vacated by Jeff Sessions' appointment as attorney general. And with that result, President Donald Trump's chosen candidate was beaten by an even Trumpier candidate.

Faced with his first electoral defeat, the president tweeted out congratulations to Moore Wednesday morning. But before that, he scrubbed all of his tweets supporting Luther Strange.

Advertisement:

According to ProPublica's Politwoops project — which documents deleted tweets by notable people — three tweets by the president were scrubbed on Tuesday night.

The first read: "Big election tomorrow in the Great State of Alabama. Vote for Senator Luther Strange, tough on crime & border — will never let you down."

The second: "Luther strange has been shooting up in Alabama polls since my endorsement. Finish the job — vote today for 'Big Luther.'"

Advertisement:

And the third: "ALABAMA, get out and vote for Luther Strange — he has proven to me that he will never let you down! #MAGA"

As of Wednesday morning, there are still signs on the president's Twitter page that Trump has endorsed Strange. Tweets from August and some from Sept. 16 to Sept. 23 haven't been deleted. It's unclear whether or not the president will bother going that far back in his timeline — or if he'll wait for someone else to do it for him.

Advertisement:

Senator Luther Strange has done a great job representing the people of the Great State of Alabama. He has my complete and total endorsement! — Donald J. Trump (@realDonaldTrump) August 9, 2017

Luther Strange of the Great State of Alabama has my endorsement. He is strong on Border & Wall, the military, tax cuts & law enforcement. — Donald J. Trump (@realDonaldTrump) August 14, 2017

Senator Luther Strange, who is doing a great job for the people of Alabama, will be on @foxandfriends at 7:15. Tough on crime, borders etc. — Donald J. Trump (@realDonaldTrump) August 15, 2017

Big day in Alabama. Vote for Luther Strange, he will be great! — Donald J. Trump (@realDonaldTrump) August 15, 2017

Wow, Senator Luther Strange picked up a lot of additional support since my endorsement. Now in September runoff. Strong on Wall & Crime! — Donald J. Trump (@realDonaldTrump) August 16, 2017

I will be in Huntsville, Alabama, on Saturday night to support Luther Strange for Senate. "Big Luther" is a great guy who gets things done! — Donald J. Trump (@realDonaldTrump) September 16, 2017

Looking forward to Friday night in the Great State of Alabama. I am supporting "Big" Luther Strange because he was so loyal & helpful to me! — Donald J. Trump (@realDonaldTrump) September 20, 2017

Alabama is sooo lucky to have a candidate like "Big" Luther Strange. Smart, tough on crime, borders & trade, loves Vets & Military. Tuesday! — Donald J. Trump (@realDonaldTrump) September 20, 2017

The NRA strongly endorses Luther Strange for Senator of Alabama.That means all gun owners should vote for Big Luther. He won't let you down! — Donald J. Trump (@realDonaldTrump) September 21, 2017

Senator Luther Strange has gone up a lot in the polls since I endorsed him a month ago. Now a close runoff. He will be great in D.C. — Donald J. Trump (@realDonaldTrump) September 21, 2017

Will be in Alabama tonight. Luther Strange has gained mightily since my endorsement, but will be very close. He loves Alabama, and so do I! — Donald J. Trump (@realDonaldTrump) September 22, 2017

It was great being with Luther Strange last night in Alabama. What great people, what a crowd! Vote Luther on Tuesday. — Donald J. Trump (@realDonaldTrump) September 23, 2017

To political observers — especially Trump ones — it's not a surprise that Trump would want to erase one of his failures, according to Politico.

The race was Trump’s first congressional defeat. It left the president, who cares about winning and being associated with winners, frustrated and sometimes visibly annoyed, according to four White House officials and people familiar with the president’s thinking.

Meanwhile, Roy Moore, walking gaffe machine, will face Democratic candidate Doug Jones, a former U.S. Attorney who prosecuted the men who bombed a Birmingham church in 1963.

Advertisement:

If the worst happens and Moore loses, it would certainly be a big blow against the president's persona.

"It's one thing to be an intimidating political leader," Republican strategist Rick Wilson told Salon in August. "It's another to deliver wins."