His focus on guarding the western frontiers against the Ghaznavids may have led to the neglect of the kingdom's eastern border, which later resulted in a Sena invasion. Jayachandra, the last powerful king of the dynasty, faced a Ghurid invasion led by Qutb al-Din Aibak. He was defeated and killed at the Battle of Chandawar in 1194 CE. According to the contemporary Muslim historian Hasan Nizami, the Ghurids then sacked Varanasi, where they destroyed a number of temples. After Jayachandra's death, several local feudatory chiefs offered their allegiance to the Ghurids. A legendary account in Prithviraj Raso states that Jayachandra allied with the Ghurids against Prithviraj Chauhan, who had eloped with his daughter Samyukta. However, such legends are not supported by historical evidence. Jayachandra's son Harishchandra succeeded him on the Gahadavala throne. According to one theory, he was a Ghurid vassal. However, in an 1197 CE Kotwa inscription, he assumes the titles of a sovereign. According to historian Roma Niyogi, it is possible that he controlled Kanyakubja, as no contemporary Muslim historians mention that the Ghurids captured the city at that time. Firishta (16th century) was the earliest writer to claim that the Muslims captured Kannauj in the 1190s, but his account can be ignored as inaccurate because he flourished around four centuries later, in the 16th century. Harishchandra may have also retained Varanasi. Meanwhile, the control of the region around Etawah appears to have been usurped by Jayachandra nephew Ajayasimha. The 13th century chronicler Minhaj al-Siraj Juzjani refers to a victory achieved by the Delhi Sultanate ruler Iltutmish (r. 1211-1236) at Chandawar; Ajayasimha was probably Iltutmish's enemy in this battle. The ultimate fate of Harishchandra is not known, but he was probably defeated by the Delhi Sultanate under Iltutmish. A 1237 inscription issued during the reign of one Adakkamalla of Gahadavala family was found in Nagod State (present-day Satna district of Madhya Pradesh). Adakkamalla may have been the successor of Harishchandra. Another possibility is that Adakkamalla was from a different branch of the family that ruled a small fief. Nothing is known about Adakkamalla's successors. Claimed descendants The bardic chronicles of Rajputana claim that the Rathore rulers of Jodhpur State descended from the family of the Gahadavala ruler Jayachandra. For example, according to Prithviraj Raso, Rathore was an epithet of Jayachandra (Jaichand). The rulers of the Manda feudal estate, who described themselves as Rathore, traced their ancestry to Jayachandra's