 In 1035, the Ghaznavid ruler Mas'ud I sent an army under Begtoghdi and Sahib Husain against the Seljuqs, who were stationing near Sarakhs.A battle shortly ensured, which resulted in the withdrawal of most of the Ghaznavid troops under Begtoghdi, while Sahib Husain continued to fight the Seljuqs, but was also defeated and was captured by the Seljuq Chaghri Beg.Sahib Husain later served as the "vizier" of the Seljuq ruler Tughril.