Greg Berlanti, executive producer of The CW shows "Arrow" and "The Flash" and his production company sold the rights to a TV adaption of the "Archie" comics drama "Riverdale" to Fox, the Seattle Pi has learned.

"Riverdale," which is also the name of the fictional town the "Archie" comics characters reside in, will be written by the Chief Creative Officer of "Archie" Comics, Roberto Aguirre-Sacasa.

The series will explore the love triangle between Archie, Betty and Veronica and their adventures with their friends Reggie, Jughead, Josie and the Pussycats, Kevin Keller, Archie comics' first openly gay character, and more.