Abdul-Kassem and Hassan-Sebbah, fellow-students with Khayyam, were the two comrades to whom he was especially attached, notwithstanding a divergence of character and opinion which would seem to indicate in him another choice. One day Khayyam asked his two friends, in a jesting manner, if a compact entered into among them, and based upon absolute necessity, for that one of the three whom Fortune most favored to come to the aid of the other two, heaping benefits upon them, would appear to them a childish thing. «No, no,» answered they, «the idea is excellent and we will adopt it with all eagerness.» Immediately the three friends clasped hands and vowed that when the time came they would be faithful to their agreement. This pact but stimulated the emulation of the three young people. They applied themselves to their studies with more ardor even than was demanded of them, since in accordance with the tradition of the college, the high places belong to those who merit them.

Khayyam, of a sweet and modest nature, was rather given to the contemplation of divine things than to the pleasures of worldly life. This tendency and the kind of study he cultivated made of him a Mystic poet, a philosopher at once skeptical and fatalistic, a Sufi—in a word, what most Oriental poets are.

Abdul-Kassem, on the contrary, ambitious and positive in the full acceptation of the word, anxious to come into power, applied himself principally to the study of the history of his country, which presented to him numerous examples of celebrated men who, by their merit and courage, had come into the highest offices, and where, besides, he found excellent lessons in all branches of administration. He became an illustrious statesman. As for Hassan-Sebbah, as ambitious as his fellow-student Abdul-Kassem, but less skilful, and more violent than he in the application of means, artful and jealous of the superiority of his comrades, he followed somewhere nearly the same studies, holding ever to the purpose of serving himself by the ruin of all those who dared to oppose his advancement in the career he had chosen. He also became celebrated, as will be shown farther on in this preface, through the cruelties he committed and the blood he spilled.

Their studies ended, the three friends left college and separated to return to their own homes, where they remained a certain length of time without renown. Abdul-Kassem, however, was not long in making himself advantageously known at the Court of Alp-Arslan, the second king of the dynasty of the Seldjoukides, through divers writings on the subject of administration, and soon became the private secretary of that monarch, then under-secretary of State, and finally Prime Minister.

Alp-Arslan, in putting this skilful administrator at the head of affairs in his empire, conferred upon him the honorary title of Nizam-el-Moulk, «Regulator of the Empire,» a title which, among the Persians, replaces the name of the person to whom it is granted. The historians of that time write in eulogy of this great man and, attributing to his virtues and his ability the success and prosperity of Alp-Arslan's reign, hold in profound admiration the discernment of that monarch, who knew how to attach to himself a minister endowed with so much skill in directing the affairs of his vast Principalities, which attained, under his administration, the highest degree of glory of which the Persian annals make mention.

It was towards that epoch, where Nizam-el-Moulk (for henceforth it is by this title that we shall designate him) had arrived at the apogee of his power, that his two friends came to recall to him the contract concluded amongst them. «What do you demand of me?» he said to them.

«I only ask,» responded Khayyam, «that I may enjoy the revenues of my native village. I am a Sufi and not ambitious; if you accede to my request, I could, under my paternal roof, far from the inseparable fetters of the things of this world, cultivate poesy, which delights my soul, and peaceably contemplate the works of the Creator, which is acceptable to my mind.»

«As for me,» said Hassan-Sebbah, «I ask a place at Court.»

The minister granted everything: the young poet returned to his village, of which he became chief, and Hassan-Sebbah took his place at Court, where, crafty courtier that he was, he was not long in getting into the good graces of the monarch. But, although he had already acquired the highest distinction possible, thanks to the effective aid of Nizam-el-Moulk, his envious and zealous mind could not accommodate itself to the kind of submission in which he found himself, face to face with his benefactor. He immediately went to work to overturn and supplant him.

To this end, he commenced to insinuate to Alp-Arslan that the royal finances were not in good state, the minister having neglected the collecting of taxes, and not having rendered an account upon this important subject for three years. The Prince gave ear to these treacherous criticisms, and immediately Nizam-el-Moulk was sent for to Court, where Alp-Arslan asked him, in presence of all the great dignitaries, called together for this purpose, for a complete account of uncollected taxes and a definite statement of all finances of State. Nizam-el-Moulk excused himself as best he could for the delay of which his Majesty complained, on the ground of certain circumstances beyond his control, and promised to occupy himself seriously with the question, with the aim of being able to present a complete accounting in six months' time. The Prince appeared satisfied and allowed the minister to retire. But he had scarcely passed the sill of the palace door when Hassan-Sebbah, approaching the King remarked that if anything were needed to prove the incapacity of the minister in a matter of this kind, it was to be found precisely in the extraordinary delay that he asked for putting the finances of the Empire in order. This observation struck the Prince, who asked the courtier making it if he wished to take charge of this work, and if he would engage to have it finished in a shorter space of time. Upon the affirmative response of the artful Hassan, who only asked for forty days for the accomplishment of the task, an order was given to Nizam-el-Moulk to put the archives of the finances immediately at his disposition, the moustofis (writings of the Chief Justice) and all the details of the management. Hassan, delighted at finding himself so suddenly at the head of the most important branch of the administration, already considered the complete ruin of Nizam-el-Moulk as assured. The latter, on his side, perceived, but a little too late, the imprudence he had been guilty of in placing in so high a position a man whom he ought to have known, and concerning whom he should have been on his guard. However, he did not despair of frustrating, scheme against scheme, the well-advanced projects of his ambitious antagonist. Knowing by experience how corruptible the men of his time were, and recognizing, too, the proverbial greediness and weakness of character of the confidant of Hassan-Sebbah to whom the latter believed it possible to trust the work that he had undertaken upon the order of Alp-Arslan, he did not hesitate to furnish to one of his favorites, upon whose faithfulness he knew he could count, sums large enough to be irresistible in the carrying out of the plan which he had conceived.