Texcoco and the lake to the south contained fresh water. but the northern lakes contained salt water. which was no good for irrigation. The Aztecs built an embankment 10 miles long to keep out the salt water and also to protect the city from flooding.