WASHINGTON -- Congressional leaders from both parties, including Senate Majority Leader Mitch McConnell and House Speaker Nancy Pelosi, swiftly pushed back Thursday after U.S. President Donald Trump declined to commit to a peaceful transfer of power if he loses the Nov. 3 presidential election.

Trump said during a Wednesday news conference, "We're going to have to see what happens," responding to a question about committing to the results. "You know that I've been complaining very strongly about the ballots, and the ballots are a disaster."

By Thursday, the White House sought to clarify Trump's words

"The president will accept the results of a free and fair election," said Press Secretary Kayleigh McEnany. But she said Trump does want to "get rid of mass, mail-out voting," which he claims without evidence will lead to massive fraudulent ballots.

Reaction to Trump's comments was strong and negative from Capitol Hill. Lawmakers from both parties -- including leaders of Trump's Republican Party -- had no hesitation in committing to an orderly transfer if he loses.

"The winner of the November 3rd election will be inaugurated on January 20th," McConnell said in a tweet. "There will be an orderly transition just as there has been every four years since 1792."

Democrat Pelosi said it was "very sad" the president of the United States was even raising this question. "What would our founders think?" she asked.

"Calm down, Mr. President," Pelosi said at a news conference.

She reminded Trump the U.S. is not North Korea, Russia, Saudi Arabia or other countries with strongman leaders he openly admires.

"You are in the United States of America. It is a democracy," she said. "So why don't you just try for a moment to honour our oath of office to the Constitution of the United States."

Pelosi said she has confidence in American voters to cast their votes and choose the president.

Hardly any GOP lawmakers came to the president's defence.

Sen. Lindsey Graham, a Trump ally and chair of the Senate Judiciary Committee, told "Fox & Friends" on Thursday, "If Republicans lose we will accept the result. If the Supreme Court rules in favour of Joe Biden, I will accept that result."

Rep. Liz Cheney of Wyoming, a member of the House GOP leadership, tweeted: "The peaceful transfer of power is enshrined in our Constitution and fundamental to the survival of our Republic. America's leaders swear an oath to the Constitution. We will uphold that oath."

Longtime Sen. Richard Shelby of Alabama, chairman of the Appropriations Committee said, "Well, we've always had a peaceful transfer of power. That's one of the hallmarks. And I think this year will be no exception."

It is highly unusual that a sitting president would express less than complete confidence in the American democracy's electoral process. But Trump also declined four years ago to commit to honouring the election results if his Democratic opponent, Hillary Clinton, won.

Biden, his current Democratic challenger, was asked about Trump's comment after landing in Wilmington, Delaware, on Wednesday night.

"What country are we in?" Biden asked incredulously, adding: "I'm being facetious. Look, he says the most irrational things. I don't know what to say about it. But it doesn't surprise me."

Trump has been pressing a monthslong campaign against mail-in voting this November by tweeting and speaking out critically about the practice. More states are encouraging mail-in voting to keep voters safe during the coronavirus pandemic.

The president, who uses mail-in voting himself, has tried to distinguish between states that automatically send mail ballots to all registered voters and those, like Florida, that send them only to voters who request a mail ballot.

Trump has baselessly claimed widespread mail voting will lead to massive fraud. The five states that routinely send mail ballots to all voters have seen no significant fraud.

"Regardless of how divided our country is right now, when elections are over and winners are declared, we must all commit ourselves to the Constitution and accept the results," tweeted Rep. Steve Stivers, R-Ohio, a former chair of the House Republican campaign arm.

Sen. Mitt Romney, one of the lone GOP voices to cross Trump, referred to an electoral crisis in Europe, tweeting: "Fundamental to democracy is the peaceful transition of power; without that, there is Belarus. Any suggestion that a president might not respect this constitutional guarantee is both unthinkable and unacceptable."

But Graham's repeated suggestion on Fox that the Supreme Court could -- when acting upon seemingly inevitable legal challenges to the election -- end up all but declaring the winner came with an unspoken subtext: that the Senate is moving to confirm a Trump-appointed woman to fill the vacancy left by Ruth Bader Ginsburg's death before the election, potentially stacking the deck for Republicans.

Trump on Wednesday had appeared to suggest that if states got "rid of" the unsolicited mailing of ballots there would be no concern about fraud or peaceful transfers of power.

"You'll have a very peaceful -- there won't be a transfer frankly," Trump said. "There'll be a continuation. The ballots are out of control, you know it, and you know, who knows it better than anybody else? The Democrats know it better than anybody else."

In a July interview, Trump similarly refused to commit to accepting the results.

"I have to see. Look ... I have to see," Trump told Chris Wallace during a July interview on "Fox News Sunday." "No, I'm not going to just say yes. I'm not going to say no, and I didn't last time either."

It's unlikely that any chaos in states with universal mail-in voting will cause the election result to be inaccurately tabulated, as Trump has suggested. Of the nine states, only Nevada is a battleground, worth six electoral votes and likely to be pivotal only in a national presidential deadlock.

------

Madhani reported from Chicago. Associated Press writers Andrew Taylor and Laurie Kellman in Washington, Alexandra Jaffe in Wilmington, Del. and Jonathan Lemire in New York contributed to this report.