1862, was still fresh in every Mexican mind, as indeed it is to-day, an inspiring example of their capacity for defending their homes. Yet the imperialists held the city for twenty-five days, in spite of the vigorous attack, at five separate points, by the liberals. Diaz himself, with two companions, was buried for a time underneath a falling roof, and thought to be lost, but they were rescued after a few moments without injury. It was General Diaz, with his troops, who took possession of the capital for the liberals on the 21st of June, 1867. Assuming military command, he at once introduced order into the city, providing corn and food for the hungry population, who stood in great need of it. No persecution visited the conquered imperialists, with the exception of the active leaders, who were condemned to be shot or imprisoned.
The vigorous action of the liberal government towards Maximilian and the imperialist generals, however, impressed the country with its inflexible determination, as well as its power to execute its intent. The Republic reinstated upon the ruins of so brief an attempt at monarchy, Mexican rule, after the bold effort to ingraft upon the country a foreign potentate, proved to have a firmer grasp upon the country than in all its previous essays.