Levees were also constructed over 3,000 years ago in ancient Egypt, where a system of levees was built along the left bank of the River Nile for more than 600 miles , stretching from modern Aswan to the Nile Delta on the shores of the Mediterranean.