When Todd Phillips’Jokermovie first hit the festival circuit, the festival snobs declared it to be an Oscar contender, and possibly the greatest comic book movie ever made. But when it got to the general public, who enjoy a steady diet of comic book movies, the response was much more polarized. There was a widespread campaign to boycott the movie over fears that its lead protagonist Arthur Fleck’s crusade against the rich could spark real-life incidents of violence. These fears turned out to be unfounded, as moviegoers realized the moviewasn’t as deep as the controversy suggestedand no such incidents actually took place.

One of the main criticisms levied atJoker(by people who have actually seen it) is that it borrows heavily from existing movies. Phillips pulled together scenes and details and themes from a handful of Scorsese movies likeTaxi DriverandRaging Bulland just replaced Robert De Niro’s brooding antiheroes with the Clown Prince of Crime. WhileThe Killing Joke(the Joker’s most widely accepted origin story from the comics) was clearly a big influence on Phillips’ movie, he made it abundantly clear that he wasn’t interested in adapting the source material and instead wanted to offer a wholly original take on the character. But, while Arthur Fleck isoriginal in the context of DC Comics history, he’s not original in the context of cinema, because his story has already been told much more effectively by Scorsese.

Robert De Niro in The King of Comedy

RELATED:David Fincher Has a Lot to Say About Joaquin Phoenix’s Joker

Although other movies certainly served as inspiration,The King of Comedyis the clearest jumping-off point for theJokermovie. One of Scorsese’s most underrated works, it’s a dark comedy masterpiece about a dangerously delusional aspiring comedian latching onto a famous talk show host and eventually taking him hostage to hijack his late-night show. Robert De Niro’s performance as Rupert Pupkin, a budding comic who will do everything to become a successful comedian except perform at an open mic night, isone of the best of his career.

Rupert Pupkin in The King of Comedy

Produced at the height of Scorsese and De Niro’s popularity (when they’d become disillusioned with celebrity),The King of Comedyis a bitter statement about the emptiness of fame. Rupert wants to skip past the hard work that goes into making it as a comic to enjoy the fleeting stardom that comes with one-in-a-million success. De Niro plays his delusions with such conviction that it’s hard to tell what’s actually real – andScorsese leans into the ambiguitybeautifully. Much like the ending ofJoker(and the ending of Scorsese and De Niro’s ownTaxi Driver), the final scene ofThe King of Comedyleaves it to the audience to decide how much of what they just saw was real, and how much of it took place in the protagonist’s head.

Like Arthur, Rupert lives with his mother. While Frances Conroy plays Penny Fleck on-screen inJoker, all of Rupert’s mother’s appearances inThe King of Comedyare off-screen. Whenever she appears, she’s yelling at Rupert to keep it down, often interrupting the recording of his material (or his pretend talk show appearances with lifesize cardboard cut-outs of famous people) – much like Penny, she’s overbearing. The Arthur/Penny dynamic inJokerfeels like a sanitized version of the much more memorable mother-son relationship seen in the far superior Joaquin Phoenix thrillerYou Were Never Really Here, directed bythe great Lynne Ramsay. That movie is less on-the-nose about the specifics of the character’s trauma, but hits much closer to home with the emotions of it.

InThe King of Comedy, Rupert kidnaps a talk show host in order to get one headlining spot to prove his mettle as a comic before gladly turning himself in to the authorities. InJoker, Arthur is invited onto a talk show after going viral (in 1981), then kills the host on the air. In both cases, the deranged aspiring comic commits a crime on live TV. Phillips even draws attention to the parallel bycasting Robert De Niroas the talk show host. Murray Franklin is a lot more overtly obnoxious thanThe King of Comedy’s Jerry Langford, but the sentiment is the same. Both Rupert and Arthur are the little guy trying to get their foot on the ladder, and they’re incensed by seasoned pros Jerry and Murray looking down on them from the top.

The greatest tragedy ofJokerripping offThe King of Comedyis that, even afterJokergrossed over $1 billion with a watered-down version of it, it’s still underrated. It would be one thing ifJoker’s success had led toThe King of Comedybeing brought into the mainstream four decades too late, but it remainsone of Scorsese’s underappreciated gemsalongsideBringing Out the DeadandSilence.

The themes ofThe King of Comedyring even truer today than they did in 1982. Back in 1982, Rupert’s fame-driven mindset only applied to people who actively sought to be the next big movie star or a global pop sensation. Today, it applies to everyoneposting their lives on social media. Social media has drawn millions of people into Rupert Pupkin’s relentless pursuit of attention and recognition. Not everyone is driven to a life of crime in their quest for likes, but the movie’s message about celebrity worship and the futility of chasing fame still holds up.

MORE:Zack Snyder’s Justice League: Why The Joker Meme Is Actually Very Important