Over the ensuing weeks, a pattern emerged. The foreigners used their cannon to knock down the walls that the Mexica had built as obstructions and even demolished whole buildings. Then they sent in their indigenous allies to fill in the canals with rubble or sand, while the long-range crossbows and guns guarded them. Once the Spaniards had access to a flat, open space, they could easily maintain control of it with their horses and lances.