Moonlight won the Oscar for best picture on Sunday, beating favorite La La Land for the movie industry's most prestigious award.
But in a highly unusual mishap, presenter Fay Dunaway mistakenly initially announced that musical La La Land had won, causing confusion and uproar on Hollywood's biggest night. Fellow presenter Warren Beatty said he had been given the wrong envelope to open.
Oscars mix-up: La La Land producer, Emma Stone react
The 87th Academy Awards end with a major bungle as La La Land is wrongly announced as winning best picture instead of Moonlight. Vision courtesy A.M.P.A.S.
Emma Stone won best actress for the musical, and Manchester by the Sea star Casey Affleck was named best actor on a night where US President Donald Trump was the butt of numerous jokes, capping a Hollywood awards season marked by fiery protests at his policies.
La La Land director Damien Chazelle, 32, became the youngest person to ever win a best director Oscar.
Viola Davis and Mahershala Ali won their first Oscars for their supporting roles in African-American stories Fences and Moonlight, in stark contrast to the 2016 Academy Awards when no actors of colour were even nominated.
Moonlight, the coming of age tale of a young black boy in Miami, also won the best adapted screenplay statuette, while grief-driven independent drama Manchester by the Sea took home original screenplay.
Romantic musical La La Land, the tale of a struggling actress and a jazz pianist in Los Angeles, went into the Oscars with a leading 14 nominations and emerged with six, including for its score and theme song City of Stars.
Trump's presence loomed large at the three and a half hour show as host Jimmy Kimmel fired off political zingers and even tweeted at the Republican president, getting no immediate response.
See full winners list below (winners highlighted in bold):
Dev Patel as adult Saroo searches for his mother. Photo: Mark Rogers
Best Supporting Actor
Mahershala Ali (Moonlight)
Jeff Bridges (Hell or High Water)
Lucas Hedges (Manchester by the Sea)
Dev Patel (Lion)
Michael Shannon (Nocturnal Animals)
Achievement in Costume Design
Allied
Fantastic Beasts and Where to Find Them - Colleen Atwood
Florence Foster Jenkins
Jackie
 La La Land Â
Achievement in Makeup and Hairstyling
A Man Called Ove
Star Trek Beyond
Suicide Squad - Alessandro Bertolazzi, Giorgio Gregorini and Christopher Nelson
Best Foreign Language Film
Land of Mine
A Man Called Ove
The Salesman
Best Live Action Short
Ennemis Entreniers
La Femme et le TGV
Silent Nights
Sing
Timecode
Best Documentary Short Subject
Extremis
4.1 Miles
Joe's Violin
Watani: My Homeland
The White Helmets
Achievement in Sound Mixing
Arrival
Hacksaw Ridge - Kevin O'Connell, Andy Wright, Robert Mackenzie and Peter Grace
La La Land
Rogue One: A Star Wars Story
13 Hours: The Secret Soldiers of Benghazi
Achievement in Sound Editing
Arrival - Sylvain Bellemare
Deepwater Horizon
Hacksaw Ridge
La La Land
Sully
Nicole Kidman as Sue Brierley in Lion. Photo: Mark Rogers
Best Supporting Actress
Viola Davis (Fences)
Naomie Harris (Moonlight)
Nicole Kidman (Lion)
Octavia Spencer (Hidden Figures)
Michelle Williams (Manchester by the Sea)
Achievement in Visual Effects
Deepwater Horizon
Doctor Strange
The Jungle Book
Kubo and the Two Strings
Rogue One: A Star Wars Story
Best Animated Short
Blind Vaysha
Borrowed Time
Pear Cider and Cigarettes
Pearl
Piper
Moana has earned an Oscar nomination for Disney.
Best Animated Feature
Kubo and the Two Strings
Moana
My Life as a Zucchini
The Red Turtle
Zootopia
Best Production Design
Arrival
Fantastic Beasts and Where to Find Them
Hail, Caesar!
La La Land - David Wasco (Production Design); Sandy Reynolds-Wasco (Set Decoration)
Passengers
Cinematography
Arrival - Bradford Young
La La Land - Linus Sandgren
Lion - Greig Fraser
Moonlight - James Laxton
Silence - Rodrigo Prieto
Best Film Editing
Tanna
Toni Erdmann
Arrival
Hacksaw Ridge -Â John Gilbert
Hell or High Water
La La Land
Moonlight
Best Documentary Feature
Fire at Sea
I Am Not Your Negro
Life Animated
O.J.: Made in America
13th
Best Original Song
Audition (La La Land)
Can't Stop the Feeling (Trolls)
City of Stars (La La Land)
The Empty Chair (Jim: The James Foley Story)
How Far I'll Go (Moana)
Ryan Gosling and Emma Stone are both nominated for La La Land. Photo: Dale Robinette
Best Original Score
Jackie - Mica Levi
La La Land - Justin Hurwitz
Lion - Dustin O'Halloran and Hauschka
Moonlight - Nicholas Britell
Passengers - Thomas Newman
Best Original Screenplay
Hell or High Water - Taylor Sheridan
La La Land - Damien Chazelle
The Lobster - Yorgos Lanthimos and Efthimis Filippou
Manchester by the Sea - Kenneth Lonergan
20th Century Women - Mike Mills
Best Adapted Screenplay
Arrival - Eric Heisserer
Fences - August Wilson
Hidden Figures - Allison Schroeder and Theodore Melfi
Lion - Luke Davies
Moonlight -Â Barry Jenkins (Screenplay); Tarell Alvin McCraney (Story)
Best Director
Denis Villeneuve (Arrival)
Mel Gibson (Hacksaw Ridge)
Damien Chazelle (La La Land)
Kenneth Lonergan (Manchester by the Sea)
Barry Jenkins (Moonlight)
Andrew Garfield in Hacksaw Ridge.
Best Actor
Casey Affleck (Manchester by the Sea)
Andrew Garfield (Hacksaw Ridge)
Ryan Gosling (La La Land)
Viggo Mortensen (Captain Fantastic)
Denzel Washington (Fences)
Best Actress
Isabelle Huppert (Elle)
Ruth Negga (Loving)
Natalie Portman (Jackie)
Emma Stone (La La Land)
Meryl Streep (Florence Foster Jenkins)
Moonlight is a contender for best picture at this year's academy awards.
Best Picture
Arrival
Fences
Hacksaw Ridge
Hell or High Water
Hidden Figures
La La Land* (wrongly announced)
Lion
Manchester by the Sea
Moonlight
- AAP