The Oscars had an unforgettable moment, but it was for all the wrong reasons.

In the final award of the night for Best Picture, Warren Beatty and Faye Dunaway came out as presenters to announce the award.

“La La Land” was proclaimed the winner by Dunaway after Beatty looked puzzled reading the envelope, and after a couple of minutes of acceptance speeches from various people involved in the film, Beatty re-emerged in the background.

As Beatty made his way to the microphone, one of the winners from “La La Land” giving an acceptance speech said he was going to give the Oscar to “Moonlight,” and everyone was immediately confused.

As it turns out, “Moonlight” was actually the winner, with the man holding up the envelope that indeed had the correct winner. Social media exploded, as everyone was perplexed by what was going on.

Beatty explained the mistake as the real winners got on the stage as those involved with “La La Land” stepped off.

Host Jimmy Kimmel took advantage of the moment, joking with Beatty as Beatty tried to explain that he had been handed the wrong envelope.

The members of “Moonlight” gave their acceptance speech with a surprising amount of composure given how bizarre the moment was, as the crowd still sounded like they were in shock and not fully soaking in the speech.

Kimmel ended the night by sarcastically claiming it was his fault, appearing to still be trying to recover from a surreal moment.