After months of speculation and two years of development, the Archie Comics-based series "Riverdale" has officially received a pilot order at The CW.

According to Deadline, "Riverdale" will be a subversive look at Archie, Betty, Veronica, and Jughead's life in their small town. It will be set in the present day and will take on the subjects of secrets, scandals, and teen drama. "Riverdale's" creator, Roberto Aguirre-Sacasa, said that he drew inspiration from darker teen novels like "The Perks of Being a Wallflower" and "The Virgin Suicides."

Casting is already underway for the series, which includes a self-esteem riddled Betty Cooper, a buff and flirtatious Archie Andrews, a brilliant Latina Veronica Lodge, and an emo-heartthrob Jughead Jones.

While a pilot order doesn't guarantee the show will get a full series, judging from executive producer Greg Berlanti's current track record, the odds are high it could get picked up. Aguirre-Sacasa also said at San Diego Comic Con last year that his partnership with the CW "is a great match."

"Riverdale" is written and executive produced by Roberto Aguirre-Sacasa, and is co-produced by Greg Berlanti and Sarah Schechter.