State Committee for Cinematography
The film was allocated 650,000 rubles by the USSR State Committee for Cinematography and 1 million rubles by Azerbaijanfilm. At first, Hasan Seyidbayli was attached to direct because of his experience in making history films. However, during the shooting of the film, Seyidbeyli was removed from the project, presumably due to his deteriorating health. The film was then entrusted to director Eldar Guliyev. Prominent Azerbaijani historian Ziya Bunyadov served as an advisor for the film.