Gossip Girl was finally revealed on the CW series' finale, after six seasons and countless twists.

There were plenty of flashbacks on the "Gossip Girl" finale, most of which focused on Dan Humphrey (Penn Badgley) and his first encounters with Serena van der Woodsen (Blake Lively). In the present time, viewers saw Dan decide to give the final chapter of his book to Nate Archibald (Chace Crawford) and "The Spectator," which revealed who Gossip Girl was.

Then, using "Gossip Girl's" signature voiceover, viewers heard Dan's voice say: "I wasn't born into this world, maybe I could write myself into it ... And when Serena came back from boarding school, I wrote my first post about me. Lonely boy, the outsider. The underdog. I might've been a joke, but at least people were talking about me."

Yep, Dan was Gossip Girl.

He also revealed that Jenny (Taylor Momsen, who made an appearance) knew it was him for a while and lucky for Dan, Serena defended him and in a flash forward, the two ended up marrying.

"Gossip Girl" executive producer Stephanie Savage told E! Online that the reveal wasn't always planned -- but felt like the right way to wrap up the show, and give loyal fans a proper send-off.

The Hollywood Reporter called the "Gossip Girl" reveal a fitting end to the series, and commended the series for returning to its guilty pleasure roots one last time.

TV Replay scours the vast television landscape to find the most interesting, amusing, and, on a good day, amazing moments, and delivers them right to your browser.

Loading Slideshow...
  • Episode 602: "High Infidelity"

    Pictured (L-R): Penn Badgley as Dan Humphrey and Michelle Trachtenberg as Georgina Sparks.

  • Episode 602: "High Infidelity"

    Pictured: Penn Badgley as Dan Humphrey.

  • Episode 602: "High Infidelity"

    Pictured (L-R): Blake Lively as Serena Van Der Woodsen and Chace Crawford as Nate Archibald.

  • Episode 602: "High Infidelity"

    Pictured: Sofia Black-D’Elia as Sage.

  • Episode 602: "High Infidelity"

    Pictured: Barry Watson as Steven and Blake Lively as Serena Van Der Woodsen.

  • Episode 602: "High Infidelity"

    Pictured (L-R): Chace Crawford as Nate Archibald and Blake Lively as Serena Van Der Woodsen.

  • Episode 602: "High Infidelity"

    Pictured: Blake Lively as Serena Van Der Woodsen

  • Episode 602: "High Infidelity"

    Pictured (L-R): Chace Crawford as Nate Archibald and Sofia Black-D’Elia as Sage.

  • Episode 602: "High Infidelity"

    Pictured (L-R): Chace Crawford as Nate Archibald, Sofia Black-D’Elia as Sage, Barry Watson as Steven and Blake Lively as Serena Van Der Woodsen.

  • Episode 602: "High Infidelity"

    Pictured (L-R): Barry Watson as Steven, Blake Lively as Serena Van Der Woodsen and Sofia Black-D’Elia as Sage.

  • Episode 602: "High Infidelity"

    Pictured (center): Sofia Black-D’Elia as Sage.

  • Episode 602: "High Infidelity"

    Pictured: Leighton Meester as Blair Waldorf.

  • Episode 601: "Gone Maybe Gone"

  • Episode 601: "Gone Maybe Gone"

  • Episode 601: "Gone Maybe Gone"

  • Episode 601: "Gone Maybe Gone"

  • Episode 601: "Gone Maybe Gone"

  • Episode 601: "Gone Maybe Gone"

  • Episode 601: "Gone Maybe Gone"

  • Episode 601: "Gone Maybe Gone"

  • Episode 601: "Gone Maybe Gone"

  • Episode 601: "Gone Maybe Gone"

  • Episode 601: "Gone Maybe Gone"

  • Episode 601: "Gone Maybe Gone"

Also on HuffPost: