ruled Saurashtra from Junagadh – is almost lost. The bardic legends differ very much in the names, order, and numbers of early rulers; so they are not considered reliable. According to tradition, the dynasty is said to have been founded in the late 9th century by Chudachandra. Subsequent rulers – such as Graharipu, Navaghana, and Khengara – were in conflict with the Chaulukya rulers Mularaja and Jayasimha Siddharaja; and Saurashtra was briefly governed by Chaulukya governors during this period. These events are recorded in contemporary and later Jain chronicles. In 1350, Junagadh was conquered by Muhammad bin Tughluq with the help and forces of Koli chieftain Jesaji (Jesing) from Ra Khengar. After the end of the rule of the Chaulukyas and their successors, the Vaghela dynasty, in Gujarat, the Chudasamas ruled independently, or as vassals of successor states, the Delhi Sultanate and the Gujarat Sultanate. Mandalika I was the first Chudasama ruler known from inscriptions; and during his reign, Gujarat was invaded by the Khalji dynasty of Delhi. The last king of the dynasty, Mandalika III, was defeated, and forcibly converted to Islam, in 1472 by Gujarat Sultan Mahmud Begada, who annexed the state. The Uparkot Fort of Junagadh was occupied by the Chudasamas during the reign of Graharipu. It is said to have been later rebuilt by Navaghana, who had transferred his capital from Vamanasthali to Junagadh. He is also credited with construction of the stepwells Navghan Kuvo and Adi Kadi Vav in the fort. His descendant Khengara is attributed with building a stepwell, Ra Khengar Vav, on the way to Vanthali from Junagadh. Gujarat sultanate Sultan Mahmud Begada changed the name of Junagadh to Mustafabad and built the fortifications around the town and the mosque in Uparkot Fort. Under the Gujarat Sultanate, Junagadh was governed by an official, styled thanadar (commander), appointed directly by Ahmedabad. This official collected the tribute and revenue of the crown domain. The first thanadar was Tatar Khan, an adopted son of the Sultan and after him Mirza Khalil, the eldest son of the Sultan who afterwards succeeded him under the title of Sultan Muzaffar. Prince Khalil during his tenure of office founded the village called Khalilpur. The Sultan also installed Bhupatsingh, the son of the last Chudasama king, Mandalika III, in Junagadh as a jagirdar (feudal lord). The jagir allotted to Bhupatsingh was the Sil Bagasra Chovisi; and his descendants were known as