CBS Films is looking to the future with “Legend,” preemptively acquiring feature rights to Marie Lu’s upcoming fantasy-thriller and setting it up with “Twilight” producers Marty Bowen and Wyck Godfrey through their Temple HIll banner.

Story, taking place in a North America split into two warring nations, follows a young Robin Hood and a teen prodigy hired to hunt him down who uncover an impossible truth about their totalitarian leaders. Penguin Group will publish the first novel in the series in November.

“The character of Day, a roguish teen outlaw on the run, has been in my head since high school,” Lu said in a statement issued Friday. “One night, I was watching an old time detective movie on TV when the idea of Day vs. the gifted teen June came to me.”

Lu has planned the series as a trilogy and will be involved in the scripting phase as an exec producer. Temple Hill exec Isaac Klausner brought “Legend” into the company.

It’s the first deal for CBS Films chief operating office Wolfgang Hammer, who joined the company late last year from Lionsgate. “This project is a perfect example of theatrical content with enormous digital possibilities,” he said in a statement.

CBS Films announced earlier this week that it was partnering with Warner Bros. on a feature adaptation of Stephen King’s “The Stand.” The company’s released its first four films over the past year and currently has “The Mechanic” in theaters.

Maria Faillace and Ryan Conroy will oversee the project for CBS Films, which has rights to the trilogy as well as sequels and spinoffs.

Lu, Bowen and Godfrey are represented by UTA.