Ali - Tegin then fled to the steppes .
Mahmud and Qadir Khan made a marriage alliance at Samarkand .
Ali - Tegin then fled to the steppes , while Mahmud and Qadir Khan made a marriage alliance at Samarkand .