Charles Barkley speaks at U.S. Senate candidate Doug Jones' rally in Birmingham, Ala. on Monday night December 11, 2017.
Mickey Welsh / Advertiser

BIRMINGHAM, Ala. — Charles Barkley said Monday the Alabama Senate special election is a time for Alabamians to "draw a line in the sand."

The former NBA star campaigned for Democratic candidate Doug Jones at his final stop on Monday evening in Birmingham. Barkley joined Netflix star Uzo Aduba and Birmingham Mayor Randall Woodfin to stump for the candidate. 

"We've got to stop looking like idiots to the nation," Barkley said.

Barkley, now a retired basketball player and an analyst on Inside the NBA, is no longer an Alabama resident, but joked to the crowd if he could buy a house today and vote tomorrow, he would.

More: President Trump 'on trial' in Alabama's Senate election

More: Where's Roy? Days before Alabama election, Moore disappears from campaign trail

Jones is running against former Alabama Supreme Court Justice Roy Moore, who has struggled against allegations he sexually harassed underage girls decades ago.

Moore was twice elected chief justice of the Alabama Supreme Court but was removed both times — first for refusing to remove a monument of the Ten Commandments and later for directing probate judges to enforce the state's ban on same-sex marriage after it was deemed unconstitutional.

After The Washington Post reported that four women said Moore pursued and in some cases sexually harassed or assaulted them as teenagers in the 1970s, when he was in his early 30s, national Republican leaders called on him to leave the race. Several other women have made allegations against Moore since then. He has denied all the charges.

Charles Barkley speaks at U.S. Senate candidate Doug Jones' rally in Birmingham, Ala. on Monday night December 11, 2017.
Mickey Welsh / Advertiser

President Trump refused to join the chorus against Moore and ultimately urged Alabama voters to elect him during a rally Friday in Florida. That makes the election not only a referendum on Moore and sexual harassment but on the president and his agenda, GOP strategist Dean Young said Sunday on ABC's This Week.

Woodfin, the youngest mayor Birmingham has elected in decades, urged Monday's rally attendees to get their family and friends to the polls on Tuesday. 

"There's enough energy in Alabama to turn the vote out for Doug Jones," Woodfin said. "I know what it's like to climb an uphill battles against people who tell you you can't win. Let me be the first to tell you it can be done."

Jones took the stage for a brief speech, the final time he will address voters before polls open on Tuesday morning. 

"The majority of the people in Alabama say it is time to put our decency and our state before political parties," Jones said. "It's time that we say, 'No more.'" 

More: GOP deeply divided over Republican Roy Moore in the Alabama Senate race

More: Sexual harassment becomes a political issue with pitfalls for both parties in 2018

Contributing: Richard Wolf, USA TODAY. Follow Melissa Brown on Twitter: @itsmelissabrown