Hillary Clinton and Donald Trump faced off Wednesday night in their final presidential debate before Election Day on November 8.

The debate was moderated by Fox News' Chris Wallace at the University of Nevada, Las Vegas. It was divided into six 15-minute segments focusing on debt and entitlements, immigration, the economy, the Supreme Court, foreign hot spots, and fitness to be president.

Arguably the biggest headline of the evening came when Trump refused to say he would support the results of November's election.

"I will look at it at the time," Trump told Wallace. Clinton responded that that is a "horrifying" statement.

Trump has claimed repeatedly that he thinks the election is being "rigged" against him.

The candidates faced off in their second debate just over a week ago, days after audio was leaked of Trump making lewd comments about women in 2005.

Trump insisted during the debate that his actions never matched those words, prompting several women to come forward in the following days alleging he had sexually accosted them in the past.

Wallace asked Trump about those accusations. Trump replied that "those stories have been largely debunked."

"Nobody respects women more than I do," Trump said. He then pivoted to Clinton's email scandal, which "isnt fictionalized — she destroyed 33,000 emails criminally after getting subpoenad by Congress...that's what you should be talking about, not fiction, where somebody wants fame."

Clinton largely ignored the email comments and said Trump "never takes responsibility" for his comments.

Her campaign has been reeling from the release of FBI documents that included claims of a proposed "quid pro quo" arrangement between the FBI and State Department to declassify information that had apparently passed through her inbox while she was Secretary of State.

Republican presidential nominee Donald Trump speaks to Democratic presidential nominee Hillary Clinton during the third presidential debate at UNLV in Las Vegas, Wednesday, Oct. 19, 2016. David Goldman/AP At one point, Clinton was asked to explain excerpts from her paid speeches which were leaked on WikiLeaks, in which she mentions a dream of open borders.

She clarified that she meant she wanted a cross-border energy policy, then quickly pivoted to the Russian government's involvement in the WikiLeaks hack of her campaign chairman's inbox.

Later on, when Clinton was discussing the national debt and mentioned the issue of Trump's not releasing his tax returns, Trump interjected: "She's a nasty woman." The comment drew widespread surprise and condemnation on social media.

Watch the full debate below:

Or read how it all unfolded: