Herodotus was told by his Egyptian guides that it took twenty years for a force of 100,000 slaves to build the pyramid (with another ten years to build a stone causeway that connected to a temple in the valley below).
