 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.The Seljuk ruler Tughril and his brother Chaghri descended upon Khwarazm in 1042 and forced him from the province.