Ahmad Sanjar
After Ahmad Sanjar left the Ghaznavid capital of Ghazni, Arslan-Shah returned to the capital, where he defeated Bahram-Shah, but Ahmad Sanjar shortly returned and defeated Arslan-Shah, who once again fled, but was captured by a Seljuq commander, and was executed. However, the two Bu Halim brothers kept opposing Bahram-Shah. Imad al-Din Muhammad, who was still in India, managed to withstand an attack by Bahram-Shah, but in the end was defeated and captured at Lahore in 1119 by the latter.