At the head of this theology stood the Unbegotten, the Only Father. From Him was born or put forth Nûs, and from Nûs Logos, from Logos Phronesis, from Phronesis Sophia and Dynamis, from Sophia and Dynamis principalities, powers, and angels. This first set of angels first made the first heaven, and then gave birth to a second set of angels who made a second heaven, and so on till 365 heavens had been made by 365 generations of angels, each heaven being apparently ruled by an Archon to whom a name was given, and these names being used in magic arts.