Most historians agree that the building of the pyramids first began during Egypt's 3rd Dynasty, and was built by King Djoser.
The approximate date is around 2700 B.C.