The film is based on a legend, but it is given credence by at least two texts that assert Anarkali's existence during the historical period of the greatest monarch of the Mughal Empire, Emperor Akbar (1556–1605).