In April 1521, Cortés started once more to scour the country with a large force, passing quite round the great lakes, and exploring the mountain regions to the south of them. Here he came upon Aztec forces intrenched in strong towns, often built like eagles' nests upon some rocky height, so that to take them was a work of great difficulty and danger. Once he found himself before a city which it was absolutely necessary to subdue, but he was separated from it by a cleft in the solid rock of no great width, but going sheer down thousands of feet. The bridges which generally crossed it had been broken down at the approach of the Spaniards, and as they stood there, unable to advance, the enemy's archers as usual kept up a steady fire, to which they were unavoidably exposed. The general sent a party to seek a passage lower down, but they met with no success until they came to a spot where two large trees, growing one on either side of the ravine, interlaced their branches overhead, and by this unsteady and perilous bridge one of the Tlascalans ventured to cross. His example was soon followed, and one by one about thirty Spaniards and some more of the natives crawled across, swinging dizzily above the abyss. Three lost their hold and fell, but the rest alighted in safety on the other side and attacked the Aztecs, who were as much amazed at their sudden appearance as if they had dropped from the clouds. Presently a temporary bridge was contrived by which the remainder of the force managed to cross also, and before long the town was taken, and the trembling caciques appeared before Cortés, throwing the blame of their resistance upon the Mexicans, and promising submission for the future.

The general then continued his march across the eastern shoulder of the mountain, descending finally upon Xochimilco, which was built partly upon the lake like Mexico itself, and was approached by causeways, which, however, were of no great length. It was in the first attack upon this town that Cortés was as nearly as possible taken prisoner by the Aztecs. He had thrown himself into the thick of the fight with his usual bravery, and was trying to resist an unexpected rush of the enemy, when his horse stumbled and fell, he himself received a severe blow upon the head before he could rise, and was seized and dragged off in triumph by several Indians. At this moment a Tlascalan saw his danger and sprang furiously upon his captors, trying to tear him from their grasp. Two Spaniards also rushed to the rescue, and between them the Aztecs were forced to quit their hold of the general, who lost no time in regaining his saddle, and laying about him with his good sword as vigorously as before. After a terrible struggle the enemy was driven out, and Cortés took possession of the city. As it was not yet dusk he ascended the principal teocalli to reconnoitre the surrounding country, and there beheld a sight which could but cause him grave anxiety. The lake was covered with rapidly approaching canoes full of warriors, while inland Indian squadrons were marching up in dense columns. Xochimilco was but four leagues from the capital, and at the first tidings of the arrival of the Spaniards, Guatemozin had mustered a strong force and marched to its relief. Cortés made all possible preparations for the defence of his quarters, but not until the next day did the Mexicans attack him, and then the battle raged long and with varying success; but in the end Spanish discipline prevailed, and the natives were routed with such dreadful slaughter that they made no further attempt to renew the conflict. The city yielded a rich hoard of plunder, being well stored with gold and feather-work, and many other articles of use or luxury, so that when the general mustered his men upon the neighbouring plain before resuming his march, many of them came staggering under the weight of their spoil. This caused him much uneasiness, since their way would be through a hostile country; but seeing that the soldiers were determined to keep what they had so hardly won, he contented himself with ordering the baggage to be placed in the centre guarded by part of the cavalry, and having disposed the rest to the best advantage, they once more set forth, at the last moment setting fire to the wooden buildings of Xochimilco, which blazed furiously, the glare upon the water telling far and wide the fate that had befallen it. Resting here and there, and engaging in many skirmishes with the Aztecs who followed them up, furious at the sight of the plunder which was being carried away by the invaders, the army presently completed the circuit of the lakes, and reached Tezcuco, to be greeted with the news that the ships were fully rigged and the canal completed, so that there was no longer any reason to delay their operations against Mexico.

It was a triumphant moment when the vessels were launched, and reached the lake in good order. Cortés saw to their being properly armed and manned, and then reviewed the rest of his forces, and summoned his native allies to furnish their promised levies at once.

The general's plan of action against Mexico was to send Sandoval with one division to take possession of Iztapalapan at the southern end of the lake, while Alvarado and Olid were to secure Tlacopan and Chapoltepec upon its western shore, and at the latter place destroy the aqueduct, and so cut off the supply of fresh water from Mexico. This they did successfully, and in several days of fierce fighting breach after breach was carried, and the Spaniards penetrated the city as far as the great teocalli, driving the natives before them, while the Tlascalans in the rear filled up the gaps in the dyke as well as they could, and brought up the heavy guns. Cortés and his men now pushed their way into the inclosure of the temple, and some of them rushed to the top, so lately the scene of their terrible battle, and there found a fresh image of the war-god. Tearing away the gold and jewels with which it was bedecked, they hurled it and its attendant priests over the side of the pyramid, and hastened down to the assistance of their comrades, who were by this time in a most perilous position, the Aztecs having rallied and attacked them furiously. Indeed it seemed likely to go hard with them, for they were driven helplessly back down the great street in utter confusion and panic; but the timely arrival of a small body of cavalry created a diversion in their favour, and Cortés managed to turn them once more and drive the enemy back into the enclosure with much loss. As it was by this time evening, he retreated in good order to Xoloc. Though this affair caused some consternation among the Mexicans, they speedily opened the canals and built up the ramparts again, so that when Cortés renewed the attack the whole scene had to be gone through as before. When they had once gained the street, however, they found it much easier to advance, the Tlascalans having on the last occasion pulled down many of the houses on either side. This time Cortés had determined to destroy some of the cherished buildings of the Mexicans, and began by setting fire to his old quarters, the palace of Axayacatl, and then the palace of Montezuma on the other side of the great square. The sight so maddened the natives that the Spaniards had some ado to make good their retreat, and few reached their camp that night unwounded. The Aztec emperor for his part made frequent sallies against the Spaniards both by land and upon the lake, sometimes with considerable success. At first he managed to obtain supplies of food in canoes, under cover of the darkness, but by degrees the large towns on the mainland, seeing the Mexicans unable to defend themselves, gave in their allegiance to the Spaniards, and then starvation began to be felt in the unhappy city. In spite of everything, however, all offers of terms from Cortés were steadily refused.

At this juncture, the general was persuaded by some of his officers that it would be well for two of the divisions to unite, and occupy the great market-place in the heart of the town, and so at a given time they marched along their respective causeways and entered the city. Strict orders were given by Cortés that as they advanced every opening in the causeways should be filled up and made secure. The attack began, and the enemy, taken apparently by surprise, gave way and fell back; on rushed the Spaniards by every street, eager to reach the appointed meeting place. Only the general suspected that the enemy might be purposely luring them on to turn upon them when they were hopelessly involved. Taking a few men with him, he hastily proceeded to see for himself if the way was clear should a retreat become necessary, and found, as he had feared, that all had been too eager to be in the front to attend to this most important duty. In the first street he traversed was a huge gap, twelve feet wide, and at least as many deep, full of water, for it connected two canals. A feeble attempt had been made to fill this up with beams and rubbish, but it had been left before any good had been done. Worse than all Cortés saw that this breach was freshly made, and that his officers had probably rushed headlong into a snare laid by the enemy. Before his men could do anything towards filling up the trench, the distant sounds of the battle changed into an ever-increasing tumult, the mingled yells and war cries, and the trampling of many feet grew nearer, and at last, to his horror, Cortés beheld his men driven to the edge of the fatal gulf, confused, helpless, surrounded by their foes. The foremost files were soon hurried over the edge, some trying to swim across, some beaten down by the struggles of their comrades, or pierced by the darts of the Indians. In vain with outstretched hands did Cortés try to rescue his soldiers from death, or worse still from capture; he was soon recognised, and six of the enemy tried to seize and drag him into a canoe. It was only after a severe struggle, in which he was wounded in the leg, that he was rescued by his brave followers. Two were killed in the attempt, while another was taken alive as he held the general's horse for him to mount. In all, sixty Spaniards were captured on this fatal day, and it was only when the rest reached their guns in the open space before the causeway that they were able to rally and beat back the Aztecs. The other division had fared equally ill, and were moreover in great anxiety as to the fate of Cortés, who was reported to have been killed. When they once more reached their quarters, Sandoval, though badly wounded, rode into the camp of Cortés to learn the truth, and had a long and earnest consultation with him over the disaster, and what was next to be done. As he returned to his camp he was startled by the sound of the great drum on the temple of the war-god, heard only once before during the night of horror, and looking up he saw a long file of priests and warriors, winding round the terraces of the teocalli. As they came out upon the platform at the top he perceived, with rage and despair, that his own countrymen were about to be sacrificed with the usual ghastly ceremonies. The camp was near enough to the city for the white skins of the victims and their unavailing struggles to be distinctly seen by their comrades, who were nevertheless powerless to help them, and their distress and fury may be imagined.

For five days the horrible scenes went on, the Mexicans feasting, singing, and dancing, while their priests predicted that in eight days the war-god, appeased by these sacrifices, would overwhelm their enemies and deliver them into their hands. These prophecies had a great effect upon the native allies of Cortés, who withdrew from him in immense numbers. But the general treated their superstition with cheerful contempt, and only bargained with the deserters to remain close by and see what would happen. When the ninth day came, and the city was still seen to be beset on every side, they ceased to believe in the oracle, and returned, with their anger against the Mexicans rekindled, and their confidence in the Spaniards greatly strengthened. At this time another vessel loaded with stores and ammunition touched at Vera Cruz, and her cargo was seized and sent on to Cortés by the governor. With his strength thus renewed the Spanish general resumed active operations. This time not a step was taken in advance without securing the entire safety of the army, once and for all, by solidly building up the dykes, filling every canal, and pulling down every house, so that slowly and by degrees a bare open space was made, which took in more and more of the town, till at last the unhappy Aztecs, after many desperate sallies, were shut into the portion of the city which lay between the northern and western causeways. Here famine and pestilence did their awful work unchecked. The ordinary articles of food were long exhausted, and the wretched people ate moss, insects, grass, weeds, or the bark of trees. They had no fresh water. The dead were unburied, the wounded lay in misery, yet all the endeavours of Cortés to induce Guatemozin and his chiefs to submit were useless. Though the two divisions of the army had proceeded with their work of destruction until they could join their forces, and seven-eighths of the city lay in ruins, though the banner of Castile floated undisturbed from the smouldering remains of the sanctuary on the teocalli of the war-god, still the Aztecs defied the conquerors, and fiercely rejected their overtures of peace.

Hundreds of famishing wretches died every day, and lay where they fell, for there was no one to bury them. Familiarity with the spectacle made men indifferent to it. They looked on in dumb despair waiting for their own turn to come. There was no complaint or lamentation, but deep, unutterable woe. In the midst of this appalling misery Guatemozin remained calm and courageous, and as firmly resolved not to capitulate as at the beginning of the siege. It is even said that when Cortés persuaded a noble Aztec prisoner to bear his proposals for a treaty to the emperor, Guatemozin instantly ordered him to be sacrificed. The general, who had suspended hostilities for several days hoping for a favourable answer to his message, now resolved to drive him to submission by a general assault, and for that purpose led his men across the dreary waste of ruins to the narrow quarter of the city into which the wretched Mexicans had retreated. But he was met by several chiefs, who, holding out their emaciated arms, exclaimed, 'Why do you delay so long to put an end to our miseries? Rather kill us at once that we may go to our god Huitzilopochtli, who waits to give us rest from our sufferings!'

Cortés, moved by the piteous sight, replied that he desired not their death but their submission. 'Why does your master refuse to treat with me,' he said, 'when in a single hour I can crush him and all his people?' Then once more he sent to demand an interview with Guatemozin. This time the emperor hesitated, and agreed that next day he would meet the Spanish general. Cortés, well satisfied, withdrew his force, and next morning presented himself at the appointed place in the great square, where a stone platform had been spread with mats and carpets and a banquet made ready. But after all Guatemozin, instead of coming himself, sent his nobles. Cortés, though greatly disappointed, received them courteously, persuading them to partake of the feast he had prepared, and dismissing them with a supply of provisions for their master and a renewed entreaty that he would next day come in person. But though he waited for three hours beyond the time appointed, neither the emperor nor his chiefs appeared, and the general heard that the Mexicans were preparing to resist an assault. He delayed no longer, but ordering Sandoval to support him by bringing up the ships and directing his big guns against the houses near the water, he marched at once into the enemy's quarters. The Mexicans set up a fierce war-cry, and with their usual spirit sent off clouds of arrows and darts; but the struggle soon became a hand-to-hand one; and weakened by starvation and hemmed in as they were the unhappy Aztecs had no chance against their foes. After a scene of indescribable horror, which appalled even the soldiers of Cortés, used as they were to war and violence, the Spanish commander sounded a retreat and withdrew to his quarters, leaving behind him forty thousand corpses and a smouldering ruin. Through the long night that followed all was silent in the Mexican quarter. There was neither light nor movement. This last blow seemed to have utterly stunned them. They had nothing left to hope for. In the Spanish camp, however, all was rejoicing at the prospect of a speedy termination to the wearisome campaign. The great object of Cortés was now to secure the person of Guatemozin, and the next day, which was August 18, 1521, he led his forces for the last time across the black and blasted ruin which was all that remained of the once beautiful city. In order to give the distressed garrison one more chance, he obtained an interview with the principal chiefs and reasoned with them about the conduct of their emperor.

'Surely,' he said, 'Guatemozin will not see you all perish when he can so easily save you.' But when he had with difficulty prevailed upon them to urge the king to confer with him, the only answer they could bring was that Guatemozin was ready to die where he was, but would hold no communication with the Spanish commander. 'Go then,' replied the stern conqueror, 'and prepare your countrymen for death. Their last moment is come.' Still, however, he postponed the attack for several hours; but the troops were impatient at the delay, and a rumour spread that Guatemozin was preparing to escape by the lake. It was useless to hesitate: the word was given, and the terrible scene that ensued repeated the horrors of the day before. While this was going forward on shore numbers of canoes pushed off across the lake, most of them only to be intercepted and sunk by the Spanish ships, which beat down upon them, firing to right and left. Some few, however, under cover of the smoke, succeeded in getting into open water. Sandoval had given particular orders that his captains should watch any boat that might contain Guatemozin, and now two or three large canoes together attracted the attention of one named Garci Holguin, who instantly gave chase, and with a favourable wind soon overtook the fugitives, though they rowed with the energy of despair. As his men levelled their guns at the occupants of the boat one rose saying, 'I am Guatemozin; lead me to Malinche; I am his prisoner. But let no harm come to my wife and followers.'