From 800 AD to 1400 AD , this ancient civilization farmed the area and built ingenious irrigation canals . From 800 AD to 1400 AD , this ancient civilization farmed the area and built irrigation canals , constructing more than 125 miles of canals , much of which remains extant today .