BIRMINGHAM, Ala. — The Alabama Republican Party on Thursday offered unqualified support to the embattled candidacy of Roy S. Moore, ignoring the condemnation of national Republican leaders and brushing aside worries that he could lose a Senate race in a solidly conservative state — or be expelled from Congress if he wins.

Invoking the need for guidance from God, a statement from the party’s chairwoman, Terry Lathan, referred only indirectly to the allegations of sexual misconduct and unwanted overtures against women that have upended the Senate race here. Ms. Lathan said the party trusted voters to make the right decision and backed Mr. Moore, a former chief justice of the State Supreme Court, as a conservative supporter of President Trump running against the Democrat, Doug Jones.

“Judge Moore has vehemently denied the allegations made against him,” Ms. Lathan said in her statement, issued one day after a committee of party leaders opted behind closed doors to reaffirm their support for the Republican nominee. “He deserves to be presumed innocent of the accusations unless proven otherwise.”

The state party’s decision was a crucial, if mostly expected, procedural victory for a campaign roiled by the public comments of nine women who described conduct varying from uncomfortable to unlawful. Although Mr. Moore on Thursday called the allegations “scurrilous” and “untrue,” the state party’s statement came minutes after he refused to answer questions here about whether he had improper sexual contact with a 14-year-old or, as a prosecutor in his 30s, dated high school girls.

It also came about the time on Thursday afternoon when the White House was offering Mr. Moore little support and Mr. Trump was largely skirting the issue. Sarah Huckabee Sanders, the press secretary, repeated Mr. Trump’s previous statement that said Mr. Moore should drop out of the race if the allegations against him were true.

She would not say whether Mr. Trump stood by his previous endorsement of Mr. Moore, but said the president backed the Republican National Committee’s decision to end its financial support of Mr. Moore’s campaign.

“The president believes that these allegations are very troubling and should be taken seriously,” Ms. Sanders said. “He thinks that the people of Alabama should make the decision of who their next senator should be.”

Under continued siege in Washington but embraced at home, Mr. Moore’s campaign appeared content to try to redirect attacks and critiques toward Washington. Mr. Moore’s supporters complained that Senator Mitch McConnell, the majority leader and one of Mr. Moore’s leading nemeses, did not swiftly demand the resignation of Senator Al Franken, Democrat of Minnesota, after a photograph of him groping a woman surfaced on Thursday. (Mr. McConnell sought an ethics investigation of Mr. Franken.)

But Mr. Moore’s supporters did draw undisguised pleasure in the reality that national Republican leaders like Mr. McConnell had been unable to muscle Mr. Moore out of the Senate contest. Although some Republicans had privately discussed the idea of decertifying Mr. Moore’s primary victory, many figures in the Alabama party feared that such a move would imperil the party’s relationship with state voters.

Roy Moore Is Mired in a Sexual Misconduct Scandal. Here’s How It Happened.

“It would have definitely hurt other Republican officeholders and candidates,” said Noah Wahl, the chairman of the Republican Party in Limestone County, west of Huntsville. “If the party had gone against our candidate, I do think a lot of people would have lost faith in the party and possibly in the whole political process.”

Mr. Wahl, who was not a member of the statewide committee that made the decision about Mr. Moore, said it was “hard to imagine” that the party would have withdrawn its nomination without firmer evidence of misconduct.

Bill Armistead, Mr. Moore’s campaign chairman and a former leader of the Alabama party, lauded the state committee’s choice and took a jab at the candidate’s critics. “The political establishment and the national media have put a bullseye on Judge Moore because he’s a conservative outsider,” he said in a statement. “But the voters of Alabama — the people who know him best — aren’t fooled by these tricks and lies.”

Other Republicans bemoaned the state party’s decision. “The Alabama Republican Party may have just handed Jeff Sessions’s Senate seat to Chuck Schumer,” said Steven Law, the head of a Republican “super PAC” that spent heavily on efforts to defeat Mr. Moore in the primary.

Polls suggest that Mr. Moore is in a close race against Mr. Jones, a former federal prosecutor. And, despite Thursday’s statement, he is a candidate in striking isolation. The Republican National Committee and the National Republican Senatorial Committee have cut off support for Mr. Moore’s campaign, and leading Republican senators have said that Mr. Moore could be expelled if he wins.

An error has occurred. Please try again later.

You are already subscribed to this email.

Despite the controversy, Democrats and Republicans alike believe that Mr. Moore can win the special election to fill the seat vacated by Mr. Sessions when he became attorney general.

“Frankly, I don’t think the people of Alabama want me, any national politician, or the national news media telling them what to think or how to vote,” said Representative Bradley Byrne, Republican of Alabama. “The decision is ultimately up to the people of Alabama to evaluate the information they have before them and make an informed decision.”

Few figures loom larger, or more controversially, in modern Alabama politics than Mr. Moore, who was, in effect, twice ousted as the state’s top judge and has promoted views on same-sex marriage, Islam and other subjects that have been condemned as bigoted.

But Mr. Moore has never faced as politically fraught a moment as he does now. Some of the women who have come forward to detail their encounters with Mr. Moore have accused him of assaulting them, and at least some Republican voters have said they have tired of their state being associated with Mr. Moore.

Video

Meet Roy Moore’s Defenders

Roy S. Moore, the Senate candidate from Alabama, and his supporters are trying to discredit and diminish the mounting sexual misconduct allegations against him.

By CHRIS CIRILLO on Publish Date November 14, 2017.
Photo by Drew Angerer/Getty Images.
Watch in Times Video »

Mr. Moore’s backers appear willing to cede some of that support in hopes of invigorating voters who mistrust the news media and believe that the allegations are political attacks. Mr. Moore’s wife, Kayla Moore, has called reporting on the allegations “a witch hunt,” and Mr. Moore’s campaign set up a website this week where supporters can “report inappropriate news organization contact.”

Yet the national party’s disdain for Mr. Moore has only deepened. Senator Richard Shelby of Alabama, who endorsed Mr. Moore’s opponent in the primary, has said that he would support a write-in candidate.

Unlike Mr. McConnell, Mr. Shelby is an unquestionably powerful force in Alabama politics. But Mr. Moore has spent decades cultivating the support of evangelical Christian voters who, time after time, have supported his campaigns.

On Thursday, a parade of Christian activists, many of them from outside Alabama, gathered at a hotel here to declare their sustained backing for Mr. Moore and to beseech voters to look past the allegations.

But the event was often as much about criticizing the news media and Mr. Moore’s detractors as it was about shoring up the campaign.

“I believe he’s a man of God for the hour that we’re in, and he’ll represent us well,” said the Rev. David Floyd, a pastor at a Baptist church in Opelika. “By the way, we down here in Alabama, we don’t need Mitch McConnell or John McCain telling us who can be our representative in Congress. I believe that’s our choice to make.”

Mr. Moore, sitting in the front row with his wife, sounded a similar note when he referred to the allegations against him.

“Many of you have recognized that this is an effort by Mitch McConnell and his cronies to steal this election from the people of Alabama, and they will not stand for it,” he said.

By then, he had listened to his allies praise him for more than an hour. The event had opened with a prayer by Alan Keyes, the conservative commentator and sporadic Republican candidate for elected office.

He spoke of “the great and glorious day of resurrection, when we shall hear, ‘Well done, my good and faithful servant,’ and follow Roy Moore into the kingdom of our God.”

A version of this article appears in print on November 17, 2017, on Page A1 of the New York edition with the headline: G.O.P. in Alabama Endorses Moore Despite Scandal. Order Reprints|Today's Paper|Subscribe