Raya made a treaty with Gorkha king Prithvi Narayan Shah in 1774 A.D. Some of the descendants of Yen Hang Mukpa Raya were not in favor of the treaty with Gorkha kings because they wanted to make their own territorial ruling system in great Yakthung Laje . The other brother King Sangla Ing declared independence and became the first independent ruler of Morang in a century. His son Pungla Ing adopted Hinduism and changed his Hindu name into Aamar Raya Ing. He was succeeded by his descendants, who also bore Hindu names. Kirti Narayan Raya Ing, Aap Narayan Raya Ing, Jarai Narayan Raya Ing, Ding Narayan Raya Ing, and Bijay Narayan Raya Ing. King Bijay Narayan Raya Sanlga Ing built a new town in the middle of Varatappa and Shangori fort and named it Bijaypur after him. He had no issue and died without an heir. Bijaypur town was founded in 1584 AD and is currently located next to Dharan, Sunsari District. Bijaypur town remained the capital of Morang Kingdom and Limbuwan region until the Limbuwan-Gorkha War in 1774 AD. Morang Kingdom was the most powerful and influential of all the Kingdoms in Limbuwan region and was able to establish its hegemony among all the other Limbu rulers. But in 1609 AD Sen King Lohang Sen of Sen dynasty captured Morang and ruled it for seven generations. King of Phedap Murray Hang Khebang was made the chief minister of Morong. He stayed in Bijaypur and the King of Morong made his post hereditary. Murray Hang Khebang was given a Hindu name and he became Bidya Chandra Raya. His descendants remained Chief Ministers of Morong until Buddhi Karna Raya Khebang. Buddhi Karna succeeded the last Sen King of Morang Kama Datta sen and sat in the throne of Bijaypur Palace in 1769 AD. Annexation into Nepal Meanwhile, the Gorkha King Prithivi Narayan Shah was on a campaign to conquer all the hill kingdoms into his Empire. He attacked Limbuwan on two fronts. After the Limbuwan Gorkha War 1771-1774 AD, the Limbu ministers of Morong, and Limbu rulers of the ten principalities came to an agreement with the King of Gorkha. With the Limbuwan Gorkha treaty of 1774, Limbuwan was annexed to Nepal. Limbuwan was attacked several times by Sikkim after 1774 AD. Battle of Morong during the British Gurkha war took place in Morong. Limbuwan was divided into present-day administrative districts