Shahi Khan, Sikandar’s younger son, was appointed as the Wazir but quickly rose in influence due to his strong leadership and popularity.
When the allied Kashmiri–Khokhar army reached Srinagar, dispute occurred between Shahi Khan and Jasrat as the latter intended to annex Kashmir into his own kingdom.
[3][b] Shortly after reaching Srinagar, Shahi Khan was challenged by Ali Shah again who returned at the head of an army provided by Raja Bhim Dev of Jammu.
Contemporary accounts suggest that Ali Shah was killed in the battle, although some sources claim he either fled and went into exile or was imprisoned in Gulibagh fort where he died in 1423.
[citation needed] After the two battles, Shahi Khan returned to Srinagar and was crowned as Sultan, taking the title Zayn al-Abidin which was given to him by Ali Shah before going for the pilgrimage.