The Book of the Dead is a compilation of funerary spells that first appeared in the 17th Dynasty (1630–1540 B.C.).