 -- The 89th Academy Awards show was certainly one for the books. When was all said and done, front-runner "La La Land" won in six of its 14 nominated categories, including best actress and best director.

In the most shocking moment of the night, "Moonlight" won best picture — after "La La Land" was mistakenly announced as the winner.

"This is not a joke," Jordan Horowitz, a producer of "La La Land" said onstage, correcting the big error. Then the cast and crew of "Moonlight" took the stage and accepted the award.

In addition to its best picture win, the film's star Mahershala Ali took home his first Oscar, for best actor in a supporting role, and its writers, Barry Jenkins and Tarell Alvin McCraney, won for best adapted screenplay.

Viola Davis also took home her first Oscar, for best supporting actress for "Fences," and got an enthusiastic standing ovation.

"I became an artist, and thank God I did, because we are the only profession that celebrates what it means to live a life," she exclaimed, tearing up as she thanked her parents, sisters, husband and child.

Casey Affleck and Emma Stone chose to pay homage to their fellow nominees. Affleck called Denzel Washington "one of the first people who taught me how to act." Stone said, "It's such an honor to stand beside you" and added, "Ryan Gosling, thank you for making me laugh and being the greatest partner."

Here's the complete winners list:

Best actor in a supporting role

Mahershala Ali — "Moonlight" — WINNER

Jeff Bridges — "Hell or High Water"

Lucas Hedges — "Manchester by the Sea"

Dev Patel — "Lion"

Michael Shannon — "Nocturnal Animals"

Best makeup and hairstyling

"A Man Called Ove"

"Star Trek Beyond"

"Suicide Squad" — WINNER

Best costume design

"Allied"

"Fantastic Beasts and Where to Find Them" — WINNER

"Florence Foster Jenkins"

"Jackie"

"La La Land"

Best documentary feature

"Fire at Sea"

"I Am Not Your Negro"

"Life Animated"

"O.J.: Made in America" — WINNER

"13th"

Best sound editing

"Arrival" — WINNER

"Deepwater Horizon"

"Hacksaw Ridge"

"La La Land"

"Sully"

Best sound mixing

"Arrival"

"Hacksaw Ridge" — WINNER

"La La Land"

"Rogue One: A Star Wars Story"

"13 Hours: The Secret Soldiers of Benghazi"

Best actress in a supporting role

Viola Davis — "Fences" — WINNER

Naomie Harris — "Moonlight"

Octavia Spencer — "Hidden Figures"

Michelle Williams — "Manchester by the Sea"

Best foreign language film

"Land of Mine" (Denmark)

"A Man Called Ove" (Sweden)

"The Salesman" (Iran) — WINNER

"Tanna" (Australia)

"Toni Erdmann" (Germany)

Best animated short film

"Blind Vaysha"

"Borrowed Time"

"Pear Cider and Cigarettes"

"Pearl"

"Piper" — WINNER

Best animated feature film

"Kubo and the Two Strings"

"Moana"

"My Life as a Zucchini"

"The Red Turtle"

"Zootopia" — WINNER

Best production design

"Arrival"

"Fantastic Beasts and Where to Find Them"

"Hail, Caesar!"

"La La Land" — WINNER

"Passengers"

Best visual effects

"Deepwater Horizon"

"Doctor Strange"

"The Jungle Book" — WINNER

"Kubo and the Two Strings"

"Rogue One: A Star Wars Story"

Best film editing

"Arrival"

"Hacksaw Ridge" — WINNER

"Hell or High Water"

"La La Land"

"Moonlight"

Best live action short film

"Ennemis Interieurs"

"La Femme et le TGV"

"Silent Nights"

"Sing" — WINNER

"Timecode"

Best documentary short subject

"Extremis"

"4.1 Miles"

"Joe's Violin"

"Watani: My Homeland"

"The White Helmets" — WINNERS

Best cinematography

"Arrival"

"La La Land" — WINNER

"Lion"

"Moonlight"

"Silence"

Best original score

"La La Land" — WINNER

"Lion"

"Jackie"

"Moonlight"

"Passengers"

Best original song

"Audition (The Fools Who Dream)" — "La La Land"

"Can't Stop the Feeling" — "Trolls"

"City of Stars" — "La La Land" — WINNER

"The Empty Chair" — "Jim: The James Foley Story"

"How Far I'll Go" — "Moana"

Best original screenplay

"Hell or High Water"

"La La Land"

"The Lobster"

"Manchester by the Sea" — WINNER

"20th Century Women"

Best adapted screenplay

"Arrival"

"Fences"

"Hidden Figures"

"Lion"

"Moonlight" — WINNER

Best directing

Damien Chazelle — "La La Land" — WINNER

Mel Gibson — "Hacksaw Ridge"

Barry Jenkins — "Moonlight"

Kenneth Lonergan — "Manchester by the Sea"

Denis Villeneuve — "Arrival"

Best lead actor

Casey Affleck — "Manchester by the Sea" — WINNER

Andrew Garfield — "Hacksaw Ridge"

Ryan Gosling — "La La Land"

Denzel Washington — "Fences"

Best lead actress

Isabelle Huppert — "Elle"

Ruth Negga — "Loving"

Emma Stone — "La La Land" — WINNER

Meryl Streep — "Florence Foster Jenkins"

Best picture

"Arrival"

"Fences"

"Hacksaw Ridge"

"Hell or High Water"

"Hidden Figures"

"La La Land"

"Lion"

"Manchester by the Sea"

"Moonlight" — WINNER