EXCLUSIVE: Riverdale, a one-hour drama based on the iconic Archie comic book characters, has moved to CW. The subversive take on the well-known franchise’s wholesome town of Riverdale and residents Archie, Betty, Veronica, as well as Josie and the Pussycats, originally was being developed at Fox. Greg Berlanti still is exec producing via Berlanti Productions, in association with Warner Bros TV. Archie Comics’ chief creative officer Roberto Aguirre-Sacasa is writing the pilot. Sarah Schechter and Jon Goldwater also are EPs.

“When Greg and I started talking about bringing these characters to life, our first thought was that the best home for them would be the CW,” Aguirre-Sacasa told Deadline. “It took a little longer for us to get there, but now that we’re here, it’s feeling terrific.”

At the CW, Berlanti is behind Arrow, The Flash and the upcoming Legends Of Tomorrow. He also is the producer behind the upcoming Supergirl (CBS), Blindspot (NBC) and sophomore The Mysteries Of Laura (NBC). In addition to shepherding Riverdale, Aguirre-Sacasa also is a consulting producer on Supergirl. Aguirre-Sacassa might be best known for writing Afterlife With Archie, in which the Riverdale gang is visited by the undead, and The Chilling Adventures Of Sabrina, which has been described as the more “nuanced” of the two titles and tracks Sabrina’s encounters with witches and covens.Archie Comics recently relaunched its flagship character with a new Archie #1. Like Riverdale, the new comic, written by Mark Waid and drawn by Fiona Staples, is a reboot of the classic.