Ancient Egypt was located in northern Africa along the Nile River, which flooded annually and provided rich soil for agriculture. The Old Kingdom period from 2700-2200 BCE saw the construction of pyramids, including the Great Pyramid built for Pharaoh Khufu by his vizier Imhotep.