In one of the many stories written during the Ptolemaic
period about the Egyptian gods and their rulers, the
Egyptian prince Nanerferkaptah took with him to the
grave, a book of magic written by the god Thoth. The
story involves another prince, Khamwas, a son of Ramses II,
who tries to gain possesion of the book.