 The film was shot in the Qiao Family Compound near the ancient city of Pingyao, in Shanxi Province.Although the screenplay was approved by Chinese censors, the final version of the film was banned in China for a period.The film is set in 1920s Republic of China during the Warlord Era (1916–1928), years before the Chinese Civil War.