Jayapala

[5][a] The war remained largely inconclusive for days before the tide turned against the Shahis: Jayapala was forced to propose a peace treaty.

[7][b] Mahmud, son of Sabuktigin and a battle commander, wished to inflict a decisive defeat, but had to concede when Jayapala threatened to incinerate all valuables.

[11] Once Jayapala reached his own territories, he called off the treaty and threw the commanders into prison, probably hoping to force Sabuktigin into exchanging hostages.

[11] Sabuktigin refused to believe the treaty had been breached, but once it was established beyond doubt, he plundered the frontier town of Lamghan: temples were demolished and houses burnt down.

[15] The Ghaznavids breached the enemy lines repeatedly using light attacks and followed them with an all-out assault, routing the Shahis who had to flee beyond the Indus despite their overwhelming numerical superiority.

[17] Jayapala probably tried to leverage the rift in his favor by promising to rescue Mahmud, marry off his daughter to him, and further, allot sufficient wealth and troops.

[19] Mahmud did not respond favorably and noting the Shahi to be a Hindu, proclaimed his absolute devotion to Sabuktigin and pledged to attack Jayapala upon release.

[22] For reasons which are not clear, c. 998-999 (eight years after the usurpation), Jayapala declared war against Lahore on the pretext of protecting his suzerain Bharat and dispatched Anandapala.

[30] Others like al-Ansab note that Mahmud had rejected his request for pardon but allowed him to be free in lieu of a payment of 2.5 million dirhams and 50 war-elephants around March 1002, which Rahman finds more likely.