Republican presidential nominee Donald Trump, in an extraordinary moment during Wednesday night's presidential debate, refused to say whether he would accept the results of the presidential election no matter what the outcome.

In response, Democratic nominee Hillary Clinton called his comments "horrifying" and highlighted his alleged penchant for crying "rigged" when he "thinks things are not going in his direction."

Indeed, the last time Trump was an interested party — rooting for somebody else — did not go according to plan. And Trump responded to President Barack Obama's 2012 reelection victory by melting down on Twitter and calling for a "revolution."

Business Insider chronicled the Twitter tirade then:

Early in the night, Obama fell behind 2012 GOP nominee and former Massachusetts Gov. Mitt Romney (R) in total votes, even though it had become clear that the president would win via the Electoral College. Obama ultimately also won the popular vote.

But Trump was clearly furious about the system he called a "disaster" for democracy.

Take a look at his (mostly) full tailspin below (he since deleted many of the tweets):

After we documented the initial riff, Trump went on to add: