President Donald Trump speaks during a rally in Pensacola, Fla., Friday, Dec. 8, 2017. (Jonathan Bachman/AP)

President Donald Trump is putting his political reputation on the line in Alabama's Senate race by making a last-minute appeal in favor of besieged Republican candidate Roy Moore.

In an automated audio sent to Alabama voters – known as a "robocall" – Trump urges support for the GOP nominee and says, "Moore is the guy we need to pass our Make America Great Again agenda." Trump declares that, "We're already making America great again" but argues that the Republicans need to hold the seat that's up for election Tuesday. This is the opening created by the resignation of former Sen. Jeff Sessions. who is now Trump's attorney general. The GOP controls the Senate by a 52-48 margin.

The audio was released by ABC News, and Trump's endorsement of Moore is getting widespread media attention in Alabama and nationally.

A number of women have accused Moore of sexual improprieties, including misconduct with teenage girls when he was in this 30s many years ago. Moore denies the allegations.

"We need Roy voting for us," Trump says in the robocall. "I'm stopping illegal immigration and crime, rebuilding a stronger military and protecting the Second Amendment and our pro-life values." Trump says Moore is a "conservative who will help me steer this country back on track after eight years of the Obama disaster."

Polls indicate that the election is very close.