The Egyptians' compositions - mainly the Coffin Texts and the Pyramid Texts - relating to death and the afterlife. They probably originated in preliterate oral tradition. The earliest such writings are the Pyramid Texts, the first examples of which were inscribed in the 5th Dynasty pyramid of Unas (2375-2345 BC) at Saqqara. These texts were prepared by the officiants in temple cults. Most of the vast corpus of funerary texts is magical in character, with spells and formulas. The Coffin Texts, combined with the Pyramid Texts from which they were derived, were the primary sources of the Book of the Dead, which was in prominent use during the New Kingdom and Late period.