As the river receded, it deposited a rich, brown layer of silt that was suitable for growing wheat, beans, barley, or even cotton. Farmers learned to dig short canals leading to fields near the Nile, thus providing fresh water for year-round irrigation.