The Book of the Dead grew out of a long tradition of funerary texts, the first examples of which are known as the Pyramid Texts because they were written on the walls of the burial chambers in the pyramids of the pharaohs of the Old Kingdom – the earliest known example was discovered in the Pyramid of King Unas at Saqqara and dates from around 2345 BC.

