Seljuq Empire
After the death of Malik-Shah I in 1092, Ali supported his brother Tutush I who dominated the western part of the Seljuq Empire and considered his claim to the throne superior to Barkiyaruq's. Tutush, however, was decisively defeated in a battle near Ray in 1095, where he and Ali were killed. Ali was succeeded by his son Garshasp II.