The Gorkha Kingdom () was a member of the Chaubisi rajya, a confederation of 24 states on the Indian subcontinent ruled by the Khas people. In 1743 CE, the kingdom began a campaign of military expansion, annexing several neighbors and becoming present-day Nepal. The Gorkha Kingdom extended to the Marshyangdi River in the west, forming its border with the Kingdom of Lamjung. To the east, the kingdom extended to the Trishuli River, forming its border with the Nepal Mandala. The Gorkha Kingdom was established in 1559 CE by Prince Dravya Shah, second son of King Yasho Brahma Shah of Lamjung. The prince replaced the Khadka chiefs who previously ruled the region. Origin According to legend, one of the earliest Shah rulers was Rishi-raj Rana-Ji, of the Lunar dynasty. He was made the ruler of Chittorgarh and received the title of Bhattarak. The lunar dynasty remained in power for thirteen generations. Then, the Muslim Yavanas took power. The Bhattarak had to abdicate and could only retain his caste family name, Rana-ji. The rajas were titled Rana-Ji for four generations and Rana-ji Rava for a further seventeen generations. Akbar, the Mughal emperor, (1542-1605) wished to marry the daughter of Fatte Sinha Rana-Ji Rava. Akbar was refused because he was not a Hindu but from a different religion (namely Islam). This decision led to war. Many Rajputs, including Fatte Sinha Rana-ji Rava, were killed. The survivors of the war were led by Udaybam Rana-Ji Rava. They founded a settlement, Udaipur. Manmath Rana-Ji Rava went to Ujjain. His son Bhupal Ranaji Rao went to Ridi in the northern hills and in 1495 CE (Saka Era 1417), to Sargha, and then to Khium in Bhirkot. There, he cultivated the land. The new ruler of Khium had sons, Kancha and Micha. Their bartabandha (the taking of the Bharmanical thread) was performed. Plans for the boys to marry the daughters of the Raghuvanshi Rajputs were made. Kancha, the elder son went to Dhor. He conquered Magarat and reigned over Garhon, Sathum and Birkot. Micha, the younger son, went to Nuwakot in the far west and became ruler there. From Micha, a dynasty of seven rajas commenced in Nuwakot. Kulamandan, the eldest son of Jagdeva, became ruler of Kaski, displacing the local Gurung king. He was favoured and became Shah and succeeded his father. Kalu, the second son was sent to Dura Danda in Lamjung at the people's