Moore, 70, who pledged to be an uncompromising conservative and to support Trump's agenda, campaigned against McConnell, saying the senator from Kentucky is trying to preserve the status quo and work against the president.
But Trump's conciliatory tweet to Moore belies the president's anger over odd, whom he reluctantly backed amid prodding by his political team and Senate Majority Leader Mitch McConnell, according to a report on CNN. The New York Times reported Trump deleted three tweets backing Sessions' temporary replacement in the Senate.
Senate Leadership Fund President and CEO Steven Law said Tuesday that Moore won the nomination "fair and square".
Moore winning against Trump's candidate is a huge blow for the President, and a strong revelation that the Trump brand is not as strong as Trump would have voters think. It was during that rally Trump admitted he "might have made a mistake" with his endorsement.
Moore is now the favorite in December's general election against Democrat Doug Jones, a lawyer and former US attorney during President Bill Clinton's administration.
Moore was twice elected chief justice of the Alabama Supreme Court and twice removed from those duties. But it should certainly serve as a reminder to the administration of the danger in setting aside the fiery campaign promises Trump made before entering the Oval Office for a more business-as-usual style of Washington politics.
In a tweet the president said he spoke with Moore for the first time following his victory last night, adding he sounds like a great guy who ran a fantastic race.
Even though Moore said he'd back Trump's agenda, a spokesman for the candidate told MSNBC that he opposed the latest GOP health-care plan created to replace Obamacare, saying it didn't go far enough to undo President Barack Obama's signature legislation.
He tweeted: "Congratulations to Roy Moore on his Republican Primary win in Alabama". The councilman gave $2,500 to Moore's campaign in June with his wife Natalie contributing $2,500 in the September primary runoff, totaling $7,500, according to Federal Election Commission data. Former White House chief strategist Steve Bannon, former Alaska Gov. Sarah Palin, and right-wing United Kingdom politician Nigel Farage, have broken with Trump, actively supporting Moore.
And they did. At around 8 p.m. with 13% of precincts reporting, Moore led unusual by 17 points. "Alabama answered today", Bannon said. The vote will be held December 12.
In a 2015 interview Moore himself refused to say whether he supports gay people being put to death.