Robby Mook, campaign manager of Hillary Clinton’s failed 2016 campaign, mocked President Trump for saying Alabama voters will make the "right" choice by supporting GOP Alabama Senate candidate Roy Moore, following Moore’s defeat after election results were released.

“It seems the people of Alabama indeed did the right thing,” Mook tweeted Tuesday night in response to Trump after Democrat Doug Jones was declared the winner of the U.S. Senate contest in Alabama.

“The people of Alabama will do the right thing,” Trump, who officially endorsed Moore last week, tweeted earlier Tuesday. “Doug Jones is Pro-Abortion, weak on Crime, Military and Illegal Immigration, Bad for Gun Owners and Veterans and against the WALL. Jones is a Pelosi/Schumer Puppet. Roy Moore will always vote with us. VOTE ROY MOORE!”

Moore struggled to shake off several allegations of sexual misconduct, which were first reported by the Washington Post last month. In the initial report, four women accused Moore of pursuing sexual and romantic relations with them when they were between the ages of 14 and 18, while he was in his 30s. More accusations followed.

Moore repeatedly denied the charges and resisted pressure from top Republicans, including Senate Majority Leader Mitch McConnell, R-Ky., to drop out of the race.

Jones defeated Moore to fill the Alabama Senate seat previously held by Attorney General Jeff Sessions. Luther Strange, who ran against Moore in the primary, filled the seat in the interim.