rebelled against him, so the land was left to the Seljuks, who surged forth and wrought havoc.(1)
All the while the two brothers, Tughril Beg and Chaghri Beg, were in their own territory on the fringes of Bukhara. A fierce engagement then erupted between the Seljuks and the governor of Bukhara, and many on both sides were killed. They subsequently dispatched an envoy to the sultan, but he imprisoned him and readied his army to fight them. When the two forces met, the house of Seljuk was routed and humbled. They offered obedience to Masʿūd and pledged to seize Khwarazm for him; he was appeased and allowed himself to be deceived.
The brothers then mustered their troops, crossed into Khurasan, and were joined by others until their numbers swelled. A series of events—too lengthy to detail—unfolded until they gained mastery over the realms. They captured Rayy in 429 AH, Nishapur in 430, and Balkh and other territories as well.(2)
Masʿūd could no longer resist them and withdrew to Ghazna. At first the Seljuks continued to have the Friday sermon proclaimed in his name until they had consolidated their power. The caliph al-Qaʾim then opened negotiations with them, sending the Chief Judge Abū al-Hasan al-Māwardī. In time the aforesaid Tughril Beg’s dominion became vast; he absorbed province after province and took control of Iraq in 447 AH.(3) He endeared himself to the populace with a justice tinged with oppression, and he was said to possess innate forbearance and generosity. Reports add that he was diligent in attending the congregational prayer and that he fasted on Mondays and Thursdays,(4) built mosques, and gave alms.
He also dispatched his envoy, Nāṣir ibn Ismāʿīl the Alid, to the queen of the Christians. Nāṣir sought her permission for a congregation to hold the Friday prayer in the Great Mosque of Constantinople; she consented, and the khuṭbah was delivered there in the name of the caliph al-Qaʾim. The envoy of the Egyptian caliph al-Mustanṣir was present and objected to this.(5)