Egypt’s Old Kingdom was shaken by political, social, and possibly environmental crises. What brought the age of the pyramid builders to an end?