After the fantastic achievements of Dynasty IV, something—no one knows what—changed. Pharaohs stopped building pyramids and seem to have adopted sun worship. Dynasty VI resumed pyramid building on a small scale, but the death of its last king plunged Egypt into chaos.