 In the Pyramid Age, the pyramid tomb of a king was associated with a mortuary temple located close to the pyramid.Since the tombs of the kings in the Valley of the Kings were hidden, the kings' mortuary temples were located away from their burial sites, closer to the cultivation facing Thebes.These mortuary temples became places visited during the various festivals held in the Theban necropolis.