It turns out that comic book-turned-TV series Riverdale was inspired by another iconic comic for a climactic scene from the show's most recent episode.

Season 2, episode 21 of Riverdale concluded with — spoiler alert — Jughead Jones's badly beaten body being carried out of the forest by his father FP Jones. It was a moment that sparked tons of speculation about Cole Sprouse's involvement with season 3. The actor himself added fuel to the fire with some cryptic tweets: one in which he referenced being unemployed and another in which he wrote: "Grateful, thank you #riverdale." The two tweets sparked fan assumptions that he was leaving the series for good.

Though it's too early to say what's going to happen next (and, for the record, he will at least appear in next week's episode, which we know from the synopsis that has already been posted), the scene with FP was a pretty iconic moment. It's also one that many fans thought riffed off of other pop culture references. Many fans compared it to Hagrid carrying Harry Potter out of the forest in Harry Potter and the Deathly Hallows Part 2. However, the creator of the show actually cleared up what the real inspiration was... and it turned out to be from a superhero comic: Batman.

GIF: Courtesy of GIPHY

Roberto Aguirre Sacasa tweeted an image of Batman carrying Robin out of the woods, and wrote, "This is one of the most iconic images in modern comics. And an inspiration for tomorrow’s episode of 'Riverdale" before the episode premiered. We now know what he was referencing. For comparison, the official Riverdale writer's room account also tweeted a clip of the moment, so you can see them side by side. The original image comes from an early Batman comic from DC called A Death in the Family, and in it, Robin dies at the hands of the Joker.

There are a lot of implications here, chief among them that Jughead fits the "Robin" archetype in the show (which he definitely does, as a helper for both FP and Archie). However, it's far too early to say what this means in terms of Juggy's fate. We'll just have to keep watching.