Career
Shah Malik held the title of Yabghu (the traditional leader of the Oghuz). In 1034 the Seljuks, who were enemies of the Yabghus, entered Khwarazm at the invitation of its Ghaznavid governor, Harun. In a battle between Shah Malik and the Seljuks the latter were defeated and forced to seek refuge in Ghaznavid Khurasan.
In 1038 the Ghaznavid sultan Mas"ud invested Shah Malik with the title of Khwarazm Shah.
In the winter of 1040/1041 Shah Malik led his forces across the desert into Khwarazm. After fighting a long battle against Isma"il"s troops he emerged victorious, forcing Isma"il to flee.
He occupied the capital, Gurganj and placed Mas"ud"s name in the khutba, although by this time Mas"ud was dead. The Seljuks, however, would not allow Shah Malik to remain in Khwarazm.
He chose to flee to Kerman and then Makran (his territories of Jand and Yengi-kent may have been occupied by the Kipchaks, preventing him from returning there).
He was eventually captured in Makran and turned over to Chaghri, who ended his life.