Warning: The following contains SPOILERS for Batwoman, season 1, episode 14, “Grinning Ear To Ear.”

The latest episode of Batwoman, “Grinning Ear To Ear,” has introduced the character of the Joker’s Daughter into the Arrowverse. Though this version does not wear the famous flesh mask of her comic book counterpart, the inspiration was clear the moment she was addressed as Duela while looking at herself in the mirror in the episode’s opening scene.

Though she is better known today as a Batman villain, Duela Dent started out as an enemy for Robin in Batman Family #6. Duela taunted the Boy Wonder with the knowledge of his secret identity, daring him to figure out who she truly was, as she played at being the daughter of various villains, including The Joker, The Riddler and Catwoman. Eventually Dick Grayson deduced that she was the estranged daughter of Two-Face and she asked to join the Teen Titans, so that she could redeem her family name. Following Crisis on Infinite Earths, Duela adopted the codename Harlequin and it was eventually revealed that she was not the daughter of Two-Face, but actually the daughter of Three-Face; a hero from the parallel world of Earth-Three.

The Joker’s Daughter would be given a darker origin story and turned into a villain as part of the New 52 revamp in 2011. Now known simply as Duela, the girl who become known as the Joker’s Daughter was a troubled child who found beauty in things other people found hideous. Duela ran away from home shortly after her parents forced her to have plastic surgery to correct the scars she inflicted carving at her own face with a box-cutter. Living in the sewers of Gotham City, Duela happened to find the severed face of The Joker (who had cut his own face off as part of one of his own mad schemes) and began wearing it, becoming obsessed with proving herself a worth heir to the legacy of the presumed deceased Joker.

“Grinning Ear To Ear” introduces Duela into the Arrowverse, though her background here pays homage to both versions from the comics. Once again possessing the last name Dent, she is reportedly the niece of a popular Assistant District Attorney in Gotham City (i.e. Harvey Dent). Duela was part of an upper class family and her mother had strict expectations of how her daughter was meant to appear to the world. One day, Duela became sick of meeting these expectations while putting on make-up, looking into the mirror and seeing only a sad clown. She punched the mirror and used the glass shards to carve a smile onto her face, perhaps in reference to the scars of Heath Ledger’s Joker in The Dark Knight.

The episode saw Batwoman investigating a series of attacks on social media influencers by a masked woman wielding a knife. The assaults were notable in that none of the victims bodies were harmed; only their faces. Eventually Batwoman tracked the attacks to Duela Dent and determined that she  was out to “free” the other women in her social circle who were enslaved by society’s expectations of flawless beauty.

It’s unclear at the end of “Grinning Ear To Ear” if Duela will take on the identity of The Joker’s Daughter or return to plague Batwoman another day. She is left in need of a new face by Alice, who removed Duela’s face so that she could use it as a flesh mask as part of her own plans. Disturbingly, Duela was far from unhappy about this, telling the police officers who found her that she was “finally perfect” when they were horrified by her appearance.

More: Batwoman: [SPOILER] Finds Out Kate’s Secret Identity - What It Means