During the Spaniards' retreat, they defeated a large Aztec army at Otumba and then rejoined their Tlaxcaltec allies. In May 1521, Cortés returned to Tenochtitlán, and after a three-month siege the city fell. This victory marked the fall of the Aztec empire.
Hope this helps you