محمود الغزنوي
Mahmud of Ghazni conquered Khorasan in 994 and in the year 1037 Tuğrul Beg, the first of the Seljuq empire rulers, conquered Nishapur.