The group returns to Gylan and defeats Al before witnessing the Emperor destroying the rings in a ceremony. As Ahriman returns to the mortal realm and kills the Emperor, the group flees to Mahamoud, where the Queen recalls a prophecy by Jamshid that foretells the appearance of a "Tower of Ziggurat" that would tie the physical and spiritual realms together upon Ahriman's return. Kala Han also informs the group that inserting the ashes of the rings into the lamp will restore their original power. At the top of the Tower, the group encounters the Roc, who can fly between worlds. The group ventures to the spiritual world and defeats Ahriman's subordinate daeva: Zairik, Saurva, Taromaiti, Druj, and Aka Manah. The group faces Ahriman in a final battle and weakens him into a state where he can be locked away once more with the rings, which have been restored by the group's hope and resolve. After returning to the mortal world, the Prince ascends to the throne and weds Mariam, Sindbad becomes the captain of his father's ship, and Sit returns to the life of a thief.