In 2000, an independent Moscow company invited a director from St. Petersburg, Sergei Vinokurov, the script was written by Renata Litvinova. Artemy Troitsky was expected to star in the film as Anton Gorodetsky, and for the role of the light magician Geser Ivan Okhlobystin was chosen. But the work on the film stalled, which was largely in part of the tiny budget of 50 thousand dollars. And then Channel One, the government-owned TV channel, bought from the publisher the rights to adapt the novel and invited Timur Bekmambetov write and direct the film.