 1050, Mawdud, with the aid of Böritigin and an army sent by the former Karkuyid ruler Garshasp I re-invaded Khorasan; Böritigin and his commander Qashgha invaded Khwarezm and Termez, however, during the invasion, Mawdud died and thus the invasion failed.The Seljuqs then extended their rule as far as Vakhsh and appointed a certain Abu 'Ali ibn Shadhan as the governor of their new conquests.After this, Böritigin seems to have stopped recognizing the Ghaznavids as his suzerain.