Jalor area. M. W. Meister and Shanta Rani Sharma concur with his conclusion in view of the fact that the writer of the Jaina narrative Kuvalayamala states that it was composed at Jalor in the time of Vatsaraja in 778 CE, which is five years before the composition of Harivamsha-Purana. Early rulers Nagabhata I (739–760), was originally perhaps a feudatory of the Chavdas of Bhillamala. He gained prominence after the downfall of the Chavda kingdom in the course of resisting the invading forces led by the Arabs who controlled Sindh. Nagabhata Pratihara I (730–756) later extended his control east and south from Mandor, conquering Malwa as far as Gwalior and the port of Bharuch in Gujarat. He established his capital at Avanti in Malwa, and checked the expansion of the Arabs, who had established themselves in Sind. In this battle (738 CE), Nagabhata led a confederacy of Pratiharas to defeat the Muslim Arabs who had till then been pressing on victorious through West Asia and Iran. An inscription by Mihira Bhoja ascribes Nagabhata with having appeared like Vishnu "in response to the prayers of the oppressed people to crush the large armies of the powerful Mleccha ruler, the destroyer of virtue". Nagabhata I was followed by two weak successors, his nephews Devraj and Kakkuka, who were in turn succeeded by Vatsraja (775–805). Resistance to the Caliphate In the Gwalior inscription, it is recorded that Gurjara-Pratihara emperor Nagabhata "crushed the large army of the powerful Mlechcha king." This large army consisted of cavalry, infantry, siege artillery, and probably a force of camels. Since Tamin was a new governor he had a force of Syrian cavalry from Damascus, local Arab contingents, converted Hindus of Sindh, and foreign mercenaries like the Turkics. All together the invading army may have had anywhere between 10 and 15,000 cavalry, 5000 infantry, and 2000 camels. The Arab chronicler Sulaiman describes the army of the Pratiharas as it stood in 851 CE, "The ruler of Gurjara maintains numerous forces and no other Indian prince has so fine a cavalry. He is unfriendly to the Arabs, still he acknowledges that the king of the Arabs is the greatest of rulers. Among the princes of India there is no greater foe of the Islamic faith than he. He has got riches, and his camels and horses are numerous." Conquest of Kannauj and further expansion After bringing much of Rajasthan under