The next step is the creation of the present world, which Mani ascribes to the King of the World of Light, the object being to provide for the escape of the imprisoned elements of Light. Through an angel he constructed ten heavens and eight earths, an angel being appointed to hold heavens and earths in their places. A description of the stairways, doors, and halls of the heavens is given in the Fihrist’s narrative. The stairways lead to the "height of heaven." The air was used as a medium for connecting heaven and earth. A pit was formed to be the receptacle of darkness from which the light should be liberated. The sun and the moon were created to be the receptacles of the light that should be liberated from the darkness, the sun for light that has been mingled with "hot devils," the moon for that which had been mingled with "cold devils." The moon is represented as collecting light during the first half-month, and during the second pouring it into the sun. When the sun and moon have liberated all the light they are able, there will be a fire kindled on the earth which will burn for 1468 years, when there will be no light left. The King of Darkness and his hosts will thereupon withdraw into the pit prepared for them.