This prince was an infant when he ascended the throne, and his intellectual immaturity continued through life. During and after his minority, a celebrated Moor named Mohammed Almanzor, being invested with the important office of Hadjeb, governed the state with wisdom and success.

Almanzor united to the talents of a statesman the genius of a great commander. He was the most formidable and fatal enemy with whom the Christians had yet been obliged to contend. He {81} ruled the Moorish empire twenty-six years under the name of the indolent Hacchem. More than fifty different times he carried the terrors of war into Castile or Asturia: he took and sacked the cities of Barcelona and Leon, and advanced even to Compostella, destroying its famous church and carrying the spoils to Cordova.

The genius and influence of Mohammed temporarily restored the Moors to their ancient strength and energy, and forced the whole Peninsula to respect the rights of his feeble master, who, like another Sardanapalus, dreamed away his life in the enjoyment of effeminate and debasing pleasures.[16]

But this was the last ray of unclouded splendour that shone upon the empire of the Ommiades in Spain. The kings of Leon and Navarre, and the Count of Castile, united their forces for the purpose of opposing the redoubtable Almanzor.

The opposing armies met near Medina-Celi. The conflict was long and sanguinary, and the victory doubtful. The Moors, after the termination of the combat, took to flight, terrified by the fearful loss they had sustained; and {82} Almanzor, whom fifty years of uninterrupted military success had persuaded that he was invincible, died of grief at this first mortifying reverse.

With this great man expired the good fortune of the Saracens of Spain. From the period of his death, the Spaniards continued to increase their own prosperity by the gradual ruin of the Moors.

The sons of the hadjeb Almanzor successively replaced their illustrious father; but, in inheriting his power, they did not inherit his talents. Factions were again created. One of the relations of the caliph took up arms against him, and possessed himself of the person of the monarch, A.D. 1005, Heg. 596; and, though the rebellious prince dared not sacrifice the life of Hacchem, he imprisoned him, and spread a report of his death.

This news reaching Africa, an Ommiade prince hastened thence to Spain with an army, under pretext of avenging the death of Hacchem. The Count of Castile formed an alliance with this stranger, and civil war was kindled in Cordova. It soon spread throughout Spain, and the Christian princes availed themselves of its disastrous effects to repossess themselves of the cities of {83} which they had been deprived during the supremacy of Almanzor.

The imbecile Hacchem, negotiating and trifling alike with all parties, was finally replaced on the throne, but was soon after forced again to renounce it to save his life.

After this event a multitude of conspirators[17] were in turn proclaimed caliph, and in turn deposed, poisoned, or otherwise murdered. Almundir, the last lingering branch of the race of the Ommiades, was bold enough to claim the restoration of the rights of his family, even amid the tumult of conflicting parties. His friends represented to him the dangers he was about to encounter. "Should I reign but one day," replied lie, "and expire on the next, I would not murmur at my fate!" But the desire of the prince, even to this extent, was not gratified; he was assassinated without obtaining possession of the caliphate.