Get OutJordan Peele’s horror film “Get Out” has won the Academy Award for Best Original Screenplay.

“Get Out” topped Greta Gerwig for “Lady Bird,” Guillermo del Toro and Vanessa Taylor for “The Shape of Water,” Emily Gordon and Kumail Nanjiani for “The Big Sick,” and Martin McDonagh for “Three Billboards Outside Ebbing, Missouri.”

“I stopped writing this movie about 20 times because I thought it was impossible,” Peele said in his acceptance speech. “But I kept coming back to it because I knew if someone let me make this movie, people would hear it and people would see it.”

Peele, who is the first African-American to win an Academy Award for Best Original Screenplay, thanked Universal, Jason Blum, the cast and crew, and his wife and mother.

“To everybody who went and saw this movie, everybody who bought a ticket, who told somebody to buy a ticket — thank you!” Peele said.

Peele’s script centers on a young black man, portrayed by Daniel Kaluuya, who has to deal with an array of strange behavior and supernatural horror at the family home of his white girlfriend. The screenplay has been widely praised for providing a nuanced view of racism in contemporary America.

“Get Out” won the Writers Guild of America’s award on Feb. 11. The film also received Oscar nominations for Best Picture, Best Director for Peele, and Best Actor for Kaluuya.

“Get Out” was by far the most successful box office performer in the category for Universal, with more than $250 million in worldwide grosses.

2018-oscars-seliger-portrait-studio-Jordan-Peele-ss12