"The Witchcraft of Ulua" is a short story by American author Clark Ashton Smith as part of his Zothique cycle, and first published in the February 1934 issue of Weird Tales.
Sabmon lives in a house made of bones on the edge of a northern desert of Tasuun. He was famous for his dark arts and many sought his advice and divination. Amalzain, a great nephew of Sabmon, visits him and he tells that he will be chosen as cupbearer for king Famorgh in Miraab. Sabmon recommends an amulet that contains the ashes of Yos Ebni who weathered temptation until death. Sabmon tells him to abstain from temptation but should it prove too great he should return to Sabmon and work as his apprentice. Amalzain travels to Miraab and finds much decadence in the court of the king Famorgh. Amid his work, he finds that princess Ulua has inherited some of the sorcery from her mother queen Lunalia. While princess Ulua seeks after Amalzain, Amalzain refutes her advances. However, at night, Amalzain is visited by undead things. These visitations drive Amalzain towards madness. Asking the king for a leave of absence, Amalzain returns to Sabmon. Sabmon understands what Amalzain has been through. Sabmon then procures a magic mirror. Through the mirror, Amalzain witnesses the destruction of Miraab. Since then, Amalzain remains Sabmon's student.