President Trump offered his congratulations to U.S. Senate candidate Roy Moore for winning a primary runoff election in Alabama Tuesday evening.

"Congratulations to Roy Moore on his Republican Primary win in Alabama," Trump tweeted Tuesday. "Luther Strange started way back & ran a good race. Roy, WIN in Dec!"

Congratulations to Roy Moore on his Republican Primary win in Alabama. Luther Strange started way back & ran a good race. Roy, WIN in Dec! — Donald J. Trump (@realDonaldTrump) September 27, 2017

Vice President Mike Pence also congratulated Moore in a tweet.

Congratulations Roy Moore! We are thrilled you ran on the #MAGA agenda & we are for you! — Mike Pence (@mike_pence) September 27, 2017

President Trump endorsed Strange, who was viewed as part of the Republican "establishment" and had also received support from Senate Majority Leader Mitch McConnell, R-Ky.

Trump appeared with Strange last Friday at a campaign rally, and while he spoke highly of Strange, he conceded that he "might have made a mistake" with his endorsement and said he would support either Republican candidate in the general election.