Who knew that one of Sen. Bernie Sanders’s most famous fans is an anti-status-quo fast talker with a Brooklyn accent?

Turns out, the mallet-wielding character Harley Quinn not only likes to set chemical plants ablaze. She also has felt the “Bern” for Sanders, the Democratic presidential candidate from Vermont.

In DC’s new superhero movie “Birds of Prey,” Harley (played by Margot Robbie) is in the clutches of narcissistic villain Roman Sionis (Ewan McGregor). When the quick-witted Harley runs through a laundry list of ways she may have offended the bratty baddie, one of the possible reasons appears graphically on-screen for a split-second: “Voted for Bernie.”

“We just snuck it in there,” “Birds” director Cathy Yan says by phone. “I have to give all the credit to Christina Hodson,” she adds, referring to the British screenwriter (“Unforgettable,” the Transformers franchise film “Bumblebee”) who first showed Yan the script in 2018.

“We always knew we wanted to have this string-out of ridiculous things that Roman would get upset at Harley for, so we just kept throwing things out there,” recounts Yan, who notes that the reference was purely for humor’s sake.

Because the graphic whizzes past in a flash, “that makes it even funnier,” Yan says. “There are details like that throughout the film that on first or even second viewing, you say: ‘Did I just see that?’ ”

“Hopefully it will make a few people chuckle,” adds Yan, previously known for the dark comedy “Dead Pigs.” “That’s the kind of sense of humor that I really liked about the movie.”

Sanders isn’t the first Vermont senator attached to DC’s Gotham universe. Sen. Patrick J. Leahy has appeared in five Batman films, including 2016’s “Batman v Superman: Dawn of Justice,” and even shared a scene with Harley’s sometime boyfriend, the Joker, when he was played by Heath Ledger in 2008’s “The Dark Knight.”

Read more: