north to the Vindhyas and the Tapti river in the south (ignoring his raid of the Shilahara kingdom of northern Konkana). In the west, it included Kachchha and Saurashtra; in the east, it extended up to at least Vidisha (Bhilsa). Kumarapala was succeeded by Ajayapala, who retained Kumarapala's territories, but died after a short reign. Ajayapala's young sons Mularaja II and Bhima II succeeded him one after other. During this period, the Ghurid king Muhammad of Ghor invaded the Chaulukya kingdom in 1178 CE. In the ensuing battle at Kasahrada (or Kayadara), Muhammad was defeated by a large army, which included loyal Chaulukya feudatories such as the Naddula Chahamana ruler Kelhanadeva, the Jalor Chahamana ruler Kirtipala, and the Arbuda Paramara ruler Dharavarsha. Decline Taking advantage of the young age of Bhima II, some provincial governors rebelled against him in order to establish independent states. His loyal Vaghela feudatory Arnoraja came to his rescue, and died fighting the rebels. Arnoraja's descendants Lavanaprasada and Viradhavala became powerful during Bhima's reign. During Bhima's reign, the Hoysala ruler Veera Ballala II seems to have raided the Lata region. The Yadava ruler Bhillama V also invaded Gujarat, but was forced to retreat by Bhima's feudatory Kelhanadeva. The Shakambhari Chahamana king Prithviraja III also fought with the Chaulukyas, but Bhima's general Jagaddeva managed to conclude a peace treaty with Prithviraja sometime before 1187 CE. By the mid-1190s CE, the Ghurids defeated the Prithviraja and the other major Hindu kings of northern India. On 4 February 1197 CE, the Ghurid general Qutb al-Din Aibak invaded Bhima's capital Anahilapataka, and inflicted a massive defeat on the Chaulukyas. Bhima's generals Lavanaprasada and Shridhara later forced the Ghurids to retreat, and the capital was back under the Chaulukya rule by 1201 CE. Subhatavarman, the Paramara king of Malwa, invaded the Lata region around 1204 CE, taking advantage of the turmoil caused by the Ghurid invasions. He probably also sacked the Chaulukya capital Anahilapataka. Once again, Lavanaprasada and Shridhara saved the kingdom by forcing Subhatavarman to retreat. During 1205-1210 CE, Bhima's relative Jayantasimha (or Jayasimha) usurped the throne. In the early 1210s, Subhatavarman's successor Arjunavarman defeated Jayantasimha, and later established a matrimonial alliance with him. Bhima managed to regain control of the throne during 1223-1226 CE. Meanwhile, the Yadavas invaded the southern part of the Chaulukya kingdom, led by Bhillama's successors Jaitugi and Simhana. During these invasions, the Chaulukya feudatories in