On the other hand, the 15th century Kashmiri historian Jonaraja, writing in the court of Shah Mir's descendant Budshah, states that Shah Mir came to Kashmir along with his tribe from the country of Panchagahvara (identified as the Panjgabbar valley between Rajouri and Budhal). He was said to belong to the family of an ancestor called Partha, who was described as a second Partha (an allusion to the Mahabharata hero Arjuna).[4][5] Some scholars state that the Panjgabbar valley was peopled by Khasas and so ascribe a Khasa ethnicity to Shah Mir.[6][7][8] Ain-i-Akbari regards Shah Mir as a Gujjar.[9][10]