Pyramids is the seventh Discworld novel by Terry Pratchett, published in 1989.
The main character of Pyramids is Pteppic (pronounced, and frequently spelled, Teppic), prince of the tiny kingdom of Djelibeybi (a pun on Jelly baby, a confection popular in the United Kingdom). Djelibeybi is the Discworld counterpart to Ancient Egypt.
Young Pteppic has been in training at the Assassins Guild in Ankh-Morpork for several years. The day after passing his final exam he somehow senses that his father has died and that he must return home. Being the first Djelibeybian king raised outside the kingdom leads to some interesting problems, based on the fact that Dios, the high priest, is a stickler for tradition, and does not, in fact, allow the pharaohs to rule the country (he earnestly believes that such mundane tasks are beneath them).
After numerous adventures and misunderstandings, Pteppic is forced to escape from the palace, along with a handmaiden named Ptraci (pronounced Traci). Meanwhile...
full article at wikipedia