Ohio Gov. John Kasich, a Republican, said Alabama Republicans chose “country over party” after Democratic Senate candidate Doug Jones defeated Republican Roy Moore, who was facing multiple allegations of sexual misconduct

“Thankfully, today enough Republicans chose country over party,” Kasich tweeted Tuesday night. “Tomorrow we must redouble our efforts to support candidates worthy of the office they seek.”

Kasich, who faced faced off against President Trump for the Republican nomination in the 2016 presidential contest, wasn't the only Republican to reject Moore.

Sen. Jeff Flake, R-Ariz., used similar language earlier this month when he donated $100 to Jones’ campaign. Flake posted to Twitter a picture of a check he made out to Jones’ Senate campaign with the memo “country over party.”

Jones appeared to receive a boost to his campaign by attracting undecided voters.

Moore was battling multiple 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. Other charges followed.

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