While Masud was heading toward India with his treasure, at Marikala his Turkic and Hindu slaves rebelled, captured him, and set Muhammad on the throne.
People involvedMas'udMuhammadTurki and Hindi slaves
In panic he collected his treasures and went towards India, but in Mdrikala his Turki and Hindi slaves revolted, took him prisoner, and raised Muhammad to the throne. Location: Tabakat-i Nasiri·Mas'ud
Taj-ul-Ma'āthir · After At the fort of Bargand, Farrukhzad was proclaimed king on Saturday, 9 Dhu al-Qa'da 443 AH. (Tabakat-i Nasiri·Farrukh-zad (p.276))
Tarikh al-Yamini and Tarikh · Before Masud fought fiercely with the Seljuk army at Talikan for three days; on the third day, Friday, he was defeated and withdrew… (Tabakat-i Nasiri·Mas'ud)
Tarikh al-Yamini and Tarikh · After Masud was sent to Kiri fort and was killed there (per the source, 432 AH, 1040). (Tabakat-i Nasiri·Mas'ud)
That year, in this region
AD 1040 Unable to withstand the power of the Seljuk Turkmen, Mas'ud withdrew to India and stayed there to gather troops. (Tarikh-i Jahangusha)
AD 1040 Prince Yazdiyar came from Nagar to Ghazni, and at midnight Amir Muhammad was moved from the Nagar fortress to the Ghazni… (Tarikh-i Jahangusha)
AD 1040 Mas'ud was seized at Mariakala by a rebellion of slave soldiers, and the soldiers installed Muhammad in his place. (Tarikh-i Jahangusha)
AD 1040 On the 9th of Ramadan, 431 H, across the Murghab River, Mas'ud was defeated by the Seljuk army and fled. Mas'ud resisted with a… (타바카트이 나시리)
AD 1040 Mas'ud marched toward Zirkan and fought a fierce battle with the Turkmen. (Muntakhab-ut-Tawarikh)
AD 1041 Following orders, Kotwal beheaded Mas'ud and sent his head to Amir Muhammad. (Muntakhab-ut-Tawarikh)