 The spirits Solomon communicated with Agrat were all placed inside of a genie lamp-like vessel and set inside of a cave on the cliffs of the Dead Sea.Later, after the spirits were cast into the lamp, Agrat bat Mahlat and her lamp were discovered by King David.Agrat then mated with him a night and bore him a demonic son, Asmodeus, who is identified with Hadad the Edomite.