The Alabama Republican Senate primary for Jeff Sessions' old seat is testing the influence of President Donald Trump as appointed-U.S. Sen. Luther Strange is struggling to keep his seat as he faces former Alabama Supreme Court chief justice Roy Moore in a runoff.

Despite endorsements from Trump, Sessions, and the Republican Party, Strange will face a runoff with Moore, Fox News reported. Since neither received 50 percent of the vote in the crowded primary, they will face each other one-on-one Tuesday.

Strange, the state's attorney general before replacing Sessions when Trump tapped him as the country's attorney general, joined a lawsuit against the Obama administration that challenged the former president's executive order on amnesty for undocumented immigrants, Fox News said.

Past controversies have appeared to only elevate Moore, a Christian conservative, who was removed twice from being Alabama's chief justice.

He was ousted from the position the first time in 2003 for refusing to remove a 5,280-pound granite Ten Commandments monument from the rotunda of the state judicial building, Fox News noted.

He restarted his political career in 2012, getting elected chief justice again, but was suspended in 2016 after he directed probate judges not to issue marriage certificates to gay couples in defiance of the U.S. Supreme Court ruling. Fox News noted.

Despite the actions, Moore won 39 percent of the vote in the August primary compared to Strange's 33 percent, Fox News stated. He has received the backing of former vice presidential candidate Sarah Palin and former White House chief strategist Steve Bannon.

Trump has used his social media microphone on Twitter to support Strange.

I will be in Huntsville, Alabama, on Saturday night to support Luther Strange for Senate. "Big Luther" is a great guy who gets things done! — Donald J. Trump (@realDonaldTrump) September 16, 2017

Alabama is sooo lucky to have a candidate like "Big" Luther Strange. Smart, tough on crime, borders & trade, loves Vets & Military. Tuesday! — Donald J. Trump (@realDonaldTrump) September 20, 2017

In a debate Thursday night, Strange touted over and over again his connection with Trump and how the president was supporting him, AL.com reported.

Moore was cheered at the debate when he "practically bragged" about his two removals from the Alabama Supreme Court because he claimed he was sticking up for religious liberty, AL.com stated.