The "Book of the Dead", which was placed in the coffin or burial chamber of the deceased, was part of a tradition of funerary texts which includes the earlier Pyramid Texts and Coffin Texts, which were painted onto objects, not written on papyrus. Some of the spells included in the book were drawn from these older works and date to the 3rd millennium BCE. Other spells were composed later in Egyptian history, dating to the Third Intermediate Period (11th to 7th centuries BCE). A number of the spells which make up the Book continued to be separately inscribed on tomb walls and sarcophagi, as the spells from which they originated always had been.