In the late 1440s, the ruler of Tenochtitlan, Moctezuma I, and the ruler of the allied kingdom of Texcoco, Nezahualcoyotl, ordered a dike ("albarradón") to be constructed, which was expanded under the rule of Ahuitzotl.