It’s been seven years since “Gossip Girl” wrapped and fans are still scratching their heads as to how Dan Humphrey could be behind Gossip Girl.

But now, the show’s writer and executive producer, Joshua Safran, is coming forward with some insight into how they settled on Dan, a.k.a Lonely Boy (played by Penn Badgley), as the brains behind the gossip account that watched Blair Waldorf, Serena Van Der Woodsen, Nate Archibald and Chuck Bass’ every move.

RELATED: Kristen Bell Returns To ‘Gossip Girl’ Reboot, Chace Crawford ‘Would Definitely Be Open’ To A Cameo

“I like to joke that Dan was Gossip Girl because I had left the show by then. Dan was not my intended Gossip Girl, so honestly, you’d have to ask someone else,” he said at the Vulture Festival while talking about both the original show and the upcoming HBO reboot. “But I understand why Dan was Gossip Girl. I just had my heart set on Nate.”

But before Dan, or even Nate, was an option, writers had other ideas.

RELATED: ‘Gossip Girl’ Boss Says HBO Max Series Won’t Be As ‘Button-Pushing’ as ‘Euphoria’

“We worked hard to kind of lay in tiny seeds about it being Eric, and then the NY Post wrote an article saying that ‘Gossip Girl’ was Eric so we were like, ‘We gotta scratch that,'” Safran spilled. “Then one of the writers realized that Nate had never sent a tip in to Gossip Girl, which is true at least through the end of season five. Nate never sent in a tip in through all of those episodes, which is when we’re like, ‘Oh, well then he’s Gossip Girl.”

Safran is returning for the “GG” reboot and while the original cast hasn’t confirmed whether or not they will appear, Kristen Bell, the show’s narrator will reprise her role.

No word on the reboot’s premiere date. Xoxo, Gossip Girl.