The "Writing's on the Wall" performer accepted the 2016 Academy Award for Best Original Song, presented by last year's winners Common and John Legend, on Sunday.
Smith and songwriter Jimmy Napes took the stage together, where the singer dedicated the award to the LGBT community.
"I read an article a few months ago by Sir Ian McKellen, and he said that no openly gay man had ever won an Oscar, and if this is the case – even if it isn't the case – I want to dedicate this to the LGBT community all around the world," Smith said. "I stand here tonight as a proud gay man, and I hope we can all stand together as equals one day."
Check out PEOPLE's full Academy Awards 2016 coverage and complete winners list!
The song was up against The Weeknd's "Earned It" from Fifty Shades of Grey, "Manta Ray" from Racing Extinction, "Simple Song #3" from Youth and Lady Gaga and Diane Warren's "Til It Happens to You" from The Hunting Ground.
For all things Oscars, click here to head over to PEOPLE's Snapchat Discover, where we're breaking down the best dresses of the nights, most meme-orable moments and everything in between.
The 88th annual Awards, hosted by Chris Rock, are being presented live on ABC from the Dolby Theater in Hollywood, California.