Unification of Nepal
King Prithvi Narayan Shah's successful entry began with the union of Nuwakot, which lies between Kathmandu and Gorkha District, in 1744. After Nuwakot, he took possession of strategic points in the hills surrounding the Kathmandu Valley. The valley's communications with the outside world were thus cut off. The occupation of the Kuti Pass in about 1756 stopped the valley's trade with Tibet. To stop the trade between the Newar people living in the Kathmandu Valley and the Muslim Mogul empire in India.
After two humiliating defeats, King Prithvi Narayan Shah conquered Kirtipur on his third attempt. Finally, King Prithvi Narayan Shah entered the valley, after conquering Kirtipur. Consequently Jaya Prakash Malla of Kathmandu managed to escape with his wife and took asylum in Patan, Lalitpur. When the conquest was extended to Patan a few weeks later both Jaya Prakash Malla and the King of Patan, Tej Narsingh Malla, took refuge in Bhaktapur, which was also conquered after some time. Thus King Prithvi Narayan Shah conquered the Kathmandu Valley and made Kathmandu the capital of the Nepal in 1769. Once the foundation of the Kingdom of Nepal was thus laid, King Prithvi Narayan Shah turned his attention towards the east. The Sen Kingdom of Choudandi was conquered by 1773 and Vijaypur, another Sen Kingdom was annexed shortly after.
Read more about this topic: Prithvi Narayan Shah