Egypt has 130 pyramid. Pyramid of Djoser was constructed 2630 BCE–2611 BCE. That was built in the third dynasty. Most are found in Saqqara
"Contrary to some popular depictions, the pyramid builders were not slaves or foreigners. Excavated skeletons show that they were Egyptians who lived in villages developed and overseen by the pharaoh's supervisors." <-- National Geographic