Answer:
It was built in the 27th century BC during the Third Dynasty for the burial of Pharaoh Djoser by his vizier, Imhotep. The pyramid is the central feature of a vast mortuary complex in an enormous courtyard surrounded by ceremonial structures and decoration.
Step-by-step explanation:
I think old kingdom or middle kingdom