Woody Allen's screenplay for Annie Hall has been voted the funniest script ever by the Writers Guild of America, topping the list of the 101 funniest scripts.
The Oscar-winning screenplay for the film which was released in 1977 won the award, beating competition from other classic rib ticklers such Some Like It Hot, Groundhog Day, Airplane! and Tootsie.
Allen starred in the movie himself, opposite Diane Keaton, who won an Oscar for her role.
Woody Allen had six other scripts on the list of 101, including Sleeper, Bananas, Take the Money and Run, Broadway Danny Rose, Love and Death, and Manhattan.
The next most featured screenwriter was Harold Ramis with five (including Ghostbusters and Caddyshack) followed by Preston Sturges who scored with four screenplays including The Lady Eve and Sullivan’s Travels.
The highest-placed script from recent times was Kristen Wiig and Annie Mummolo’s Oscar-nominated Bridesmaids, at number 16. Borat came in at 29, The Hangover at 30, Shaun of the Dead at 50, Anchorman at 54, Wedding Crashers at 59 and Little Miss Sunshine at 64.
The oldest script on the list was Charlie Chaplin's The Gold Rush from 1925, which came in at 94.