The Weinstein Co. has released the first trailer for "The Imitation Game," four months before its Nov. 21 release in the U.S.

Benedict Cumberbatch stars as Alan Turing, the crypotgrapher and mathematician who cracked the German "Enigma Code" during WWII.

"We're going to break an unbreakable Nazi Code and win the war," he tells fellow code-breaker Joan Clarke, played by Keira Knightley.

Turing was later prosecuted by the British government in the early 1950s for being a homosexual. Morten Tyldum directs "The Imitation Game," which was announced Monday as the opening film in the 58th BFI London Film Festival on Oct. 8.

TWC picked up the U.S. rights for a reported $7 million earlier this year at the Berlin Film Festival.

"Imitation Game" also stars Mark Strong and Matthew Goode. Producers are Nora Grossman, Ido Ostrowsky and Teddy Schwarzman.

2014 Variety Media, LLC, a subsidiary of Penske Business Media; Distributed by Tribune Content Agency, LLC