A major difference from the original story is that while the earlier Anarakali films based on Imtiaz Ali Taj's story ended as tragedies, K. Asif created a relatively happy ending in that Akbar gives amnesty to Anarkali by allowing her to escape through a secret route of tunnels below a false bottom of her prison wall, although his son is made to suffer in believing her to have perished.