President Donald Trump on Wednesday warned that another bid by former Alabama judge Roy Moore for U.S. Senate next year could come at a significant cost to the Republican Party agenda.

Although Moore lost his 2017 Senate race to Democrat Doug Jones after allegations of Moore’s sexual misconduct toward teen girls, he is considering another run for office in 2020, according to Rep. Bradley Byrne (R-Ala.). The congressman told The Hill this week he’d heard the controversial ex-judge would announce his candidacy as soon as June.

“He knows that if I run I will beat Doug Jones,” Moore tweeted on Tuesday, referring to Byrne.

The news was received with alarm by Trump, however, who tweeted that Moore’s entry into the race would mean the “incredible gains that we have made during my Presidency may be lost” ― including the confirmation of future Supreme Court nominees.

Still, Trump said he had “NOTHING against” Moore despite the credible allegations leveled against him, adding he “wanted him to win” in 2017.