First unsuccessful attempt to conpuer Nuwakot
On 25 Chaitra 1799 B.S. Prithvi Narayan Shah ascended the throne of Gorkha after the death of his father, Narabhupal Shah. Immediately after his accession the tried to invade Nuwakot, but he was defeated. Nuwakot was the main route of trade with Tibet. At that time Jayanta Rana was the Umarao (Governor) of Nuwakot. He was the commander of Gorkhali army when Narabhu Shah attacked Nuwakot but he was taken responsible for their defeat. So he went to Jayaprakash Malla, king of Kantipur from Gorkha Durbar to take refuge. Jayaprakash malla had made Jayanta Rana (Umarao) the chief of Nuwakot. Nuwakot was not only important from the commercial point of view but also it was the storage of grains. Due to this reason Gorkha wanted to invade Nuwakot but was unsuccessful in the first attempt. There were 50 muskets with Kantipur and there was none with Gorkha army.