In Chinese mythology, Jiutian Xuannü is the goddess of war, sexuality, and longevity. The Record of the Assembled Transcendents of the Fortified Walled City, written by the Daoist master Du Guangting (850–933), mentions that she is the teacher of Huangdi and the disciple of Xi Wangmu. Du Guangting's work also tells about the appearance of the goddess Jiutian Xuannü before Huangdi. At the time, Huangdi was in conflict with Chiyou, who had caused a great mist. Huangdi dwelt for several day in the mist, which was so impenetrable that it obscured day and night. Jiutian Xuannü rode a cinnabar phoenix into the great mist, holding phosphors and clouds as reins. She wore variegated kingfisher-feather garments, which had nine different colors. Huangdi greeted her and received her command. She assisted Huangdi to subdue Chi You by teaching him military strategy.