Photos: 2017 Academy Awards The cast and crew of "Moonlight" accept the best picture Oscar during the Academy Awards on Sunday, February 26. The winner was initially announced as "La La Land" by presenter Faye Dunaway, but moments later it was revealed that there was a mistake and "Moonlight" had actually won. Hide Caption 1 of 33

Photos: 2017 Academy Awards "La La Land" producer Jordan Horowitz holds up the winner card to the audience, proving that "Moonlight" had indeed won. Presenter Warren Beatty, seen behind Horowitz, told the crowd that he was given the wrong envelope. Hide Caption 2 of 33

Photos: 2017 Academy Awards Emma Stone accepts the best actress Oscar for her role in "La La Land." Hide Caption 3 of 33

Photos: 2017 Academy Awards Casey Affleck won best actor for his role in "Manchester by the Sea." Hide Caption 4 of 33

Photos: 2017 Academy Awards Damien Chazelle became the youngest person ever to win a best director Oscar. The 32-year-old won for "La La Land," which won six awards on the night. Hide Caption 5 of 33

Photos: 2017 Academy Awards "Moonlight" director Barry Jenkins, left, and writer Tarell Alvin McCraney accept the Oscar for best adapted screenplay. The film was based on McCraney's play "In Moonlight Black Boys Look Blue." Hide Caption 6 of 33

Photos: 2017 Academy Awards Ben Affleck, left, and Matt Damon present the Oscar for best original screenplay. That award went to Kenneth Lonergan for "Manchester by the Sea." Hide Caption 7 of 33

Photos: 2017 Academy Awards Sara Bareilles sings during the "In Memoriam" tribute. Hide Caption 8 of 33

Photos: 2017 Academy Awards From left, songwriters Justin Paul, Benj Pasek and Justin Hurwitz accept the Oscar for best original song ("City of Stars" from the movie "La La Land"). Hide Caption 9 of 33

Photos: 2017 Academy Awards John Legend performed "City of Stars" on stage. Hide Caption 10 of 33

Photos: 2017 Academy Awards Host Jimmy Kimmel tweets US President Donald Trump during the show: "Hey @realDonaldTrump u up?" Hide Caption 11 of 33

Photos: 2017 Academy Awards Linus Sandgren accepts the best cinematography Oscar for his work on "La La Land." Hide Caption 12 of 33

Photos: 2017 Academy Awards Javier Bardem kisses Meryl Streep's hand as they present an award. Hide Caption 13 of 33

Photos: 2017 Academy Awards Producer Joanna Natasegara and director Orlando von Einsiedel accept the Oscar for best documentary (short subject). "The White Helmets" is about volunteer rescue workers in Syria. Hide Caption 14 of 33

Photos: 2017 Academy Awards Seth Rogen, left, and Michael J. Fox were on stage together to present an award. Before that, Rogen paid homage to Fox and the '80s film "Back to the Future," which Rogen said inspired him. Hide Caption 15 of 33

Photos: 2017 Academy Awards Alan Barillaro, left, and Marc Sondheimer accept the Oscar for best animated short film ("Piper"). Hide Caption 16 of 33

Photos: 2017 Academy Awards During the show, a tour group was brought into the Kodak Theater as a surprise. Hide Caption 17 of 33

Photos: 2017 Academy Awards Some of the people on the tour interacted with actors near the front, including Denzel Washington. Hide Caption 18 of 33

Photos: 2017 Academy Awards Comedian Jimmy Kimmel was hosting the show for the first time. Hide Caption 19 of 33

Photos: 2017 Academy Awards Actor Jackie Chan received an honorary Academy Award, as did film editor Anne V. Coates, casting director Lynn Stalmaster and filmmaker Frederick Wiseman. Hide Caption 20 of 33

Photos: 2017 Academy Awards Sting plays the guitar during a performance of "The Empty Chair," a song from "Jim: The James Foley Story." Hide Caption 21 of 33

Photos: 2017 Academy Awards On behalf of Iranian director Asghar Farhadi, Anousheh Ansari accepts the Oscar for best foreign language film ("The Salesman"). Farhadi boycotted the Oscars because of an executive order signed by US President Donald Trump. That order, which temporarily suspended the admission of refugees and barred entry to the United States from Iran and six other Muslim-majority countries, was blocked by a federal judge earlier this month. Hide Caption 22 of 33

Photos: 2017 Academy Awards Charlize Theron, left, and Shirley MacLaine walk on stage to present an award. Theron said MacLaine inspired her to get into acting. Hide Caption 23 of 33

Photos: 2017 Academy Awards Viola Davis accepts the best supporting actress Oscar. Davis won for her role in "Fences," a Denzel Washington movie based on August Wilson's play. Hide Caption 24 of 33

Photos: 2017 Academy Awards Director Ezra Edelman delivers a speech next to producer Caroline Waterlow after "O.J.: Made In America" won the Oscar for best documentary feature. "O.J.: Made In America" was a five-part miniseries that explored the life of former football star O.J. Simpson. Hide Caption 25 of 33

Photos: 2017 Academy Awards Lin-Manuel Miranda performs before 16-year-old Auli'i Cravalho took the stage for "How Far I'll Go." Miranda wrote the song for the animated film "Moana." Hide Caption 26 of 33

Photos: 2017 Academy Awards Cravalho sings "How Far I'll Go," which was nominated for best original song. Hide Caption 27 of 33

Photos: 2017 Academy Awards Former NASA physicist and mathematician Katherine Johnson, third from left, appears on stage with some of the leading ladies of "Hidden Figures": Janelle Monae, Taraji P. Henson and Octavia Spencer. "Hidden Figures" is a true story about the unsung African-American women whose math and engineering smarts helped power the US space program in the 1960s. Hide Caption 28 of 33

Photos: 2017 Academy Awards Kate McKinnon and Jason Bateman present the awards for costume design as well as makeup and hairstyling. Hide Caption 29 of 33

Photos: 2017 Academy Awards Mahershala Ali accepts the best supporting actor Oscar for his role in "Moonlight." Hide Caption 30 of 33

Photos: 2017 Academy Awards Meryl Streep, seen here in the audience, was nominated for her role in "Florence Foster Jenkins." She has a record 20 Oscar nominations. Hide Caption 31 of 33

Photos: 2017 Academy Awards Justin Timberlake opened the show by singing his hit "Can't Stop The Feeling." It was one of the nominees for best original song. Hide Caption 32 of 33