The "Book of the Dead" developed from a tradition of funerary manuscripts dating back to the Egyptian Old Kingdom. The first funerary texts were the Pyramid Texts, first used in the Pyramid of King Unas of the 5th Dynasty, around 2400 BCE. These texts were written on the walls of the burial chambers within pyramids, and were exclusively for the use of the pharaoh (and, from the 6th Dynasty, the queen). The Pyramid Texts were written in an unusual hieroglyphic style; many of the hieroglyphs representing humans or animals were left incomplete or drawn mutilated, most likely to prevent them causing any harm to the dead pharaoh. The purpose of the Pyramid Texts was to help the dead king take his place amongst the gods, in particular to reunite him with his divine father Ra; at this period the afterlife was seen as being in the sky, rather than the underworld described in the "Book of the Dead". Towards the end of the Old Kingdom, the Pyramid Texts ceased to be an exclusively royal privilege, and were adopted by regional governors and other high-ranking officials.