FILE - U.S. Senate candidate Roy Moore speaks at a campaign rally in Midland City, Ala., Dec. 11, 2017. Moore is going to court to try to stop Alabama from certifying Democrat Doug Jones as the winner of the U.S. Senate race.
FILE - U.S. Senate candidate Roy Moore speaks at a campaign rally in Midland City, Ala., Dec. 11, 2017. Moore is going to court to try to stop Alabama from certifying Democrat Doug Jones as the winner of the U.S. Senate race.

President Donald Trump warned Wednesday the "consequences will be devastating" if Alabama Republican Roy Moore, whose 2017 U.S. Senate campaign was battered by allegations of long-ago sexual harassment of teenagers, seeks the seat again in 2020.

Moore lost in the once-reliably red state in a 2017 special election amid the sexual misconduct allegations, which he denied. He told The Associated Press earlier this month he is considering another campaign next year.

Trump, who backed Moore in 2017 despite the allegations, tweeted "I have NOTHING against Roy Moore," but warned that "Roy Moore cannot win." He adds that if Democrat Doug Jones retains the seat in 2020 "many of the incredible gains that we have made during my Presidency may be lost."

Trump's comments come as national Republicans have tried to keep Moore out of the race.

Moore's nomination could have national repercussions, allowing Democrats to accuse the GOP of ignoring the #MeToo movement and coddling a man accused of sexual misconduct. Moore says he expects to announce a decision in mid-June.

Republicans control the U.S. Senate 53-47 and view defeating Jones as a top priority. Jones, 65, is considered the most endangered Democratic incumbent facing re-election in 2020, a year when several GOP senators are vulnerable and control of the chamber will be at stake.

Jones defeated Moore in 2017 by 22,000 votes out of 1.3 million cast in a special election to fill the seat previously held by Jeff Sessions, who became Trump's attorney general.