Khaemwaset, a son of King Ramesses II, became legendary as a sage and a magician. He was the subject of the "Stories of Setne Khaemwaset," which date to the first millennium B.C. and were translated in the nineteenth century. The stories mention a book of powerful magic, written by the god Thoth, which Setne Khaemwaset attempts to retrieve from a deceased priest who has stolen it. This mythical Book of Thoth, the inspiration for the papyrus used to resurrect the mummy in the 1932 motion picture The Mummy, figures in numerous books and films dealing with ancient Egypt.