The oldest known canals were irrigation canals, built in Mesopotamia circa 4000 BC, in what is now Iraq and Iran. The Indus Valley Civilization, Ancient India, (circa 2600 BC) had sophisticated irrigation and storage systems developed, including the reservoirs built at Girnar in 3000 BC. In Egypt, canals date back at least to the time of Pepi I Meryre (reigned 2332-2283 BC), who ordered a canal built to bypass the cataract on the Nile near Aswan.