Modern Nepal was joined by Prithvi Narayan Shah King of Gorkha. Before the union, Nepal was ruled by different Kirats, Lichchavis, Thakuris and Mallas. The history mentioned that Kirats ruled was in Nepal during the 7th century BC. Though out much was not known about Kirats,the Lichchavi period followed the Kirats which lasted from the 2nd to 9th century AD. Nepal was also ruled by the Thakuris who were followed by the Mallas for two centuries after The Lichchavis. Nepal was divided into many principalities and small kingdoms in the fifth centuries of Malla rule, those kingdoms have their own currency, management and large armies. Malla period is known as golden period and it was in the reign of the Mallas that Nepal developed into a grand center of architecture and arts. It was announced in history that some of the well known monuments were built during this period which can be seen even today. Taking the benefits of quarrel between these small kingdoms, in 1768, King Prithvi Narayan Shah of Gorkha attacked the Kathmandu Valley and joined Nepal; therefore Shah ruled was established in Nepal.
Jang Bahadur Rana Prime Minister of Nepal revolted beside the royalty in 1844. The well-known Koot Massacre took place during this period in which numbers of noblemen were killed. The Rana took total power but continued to uphold the Shah family in the palace. Chandra Shamsher the later Ranas has brought much improvement including the ending of slavery. Colleges, schools, hospitals and, started newspapers were built during Ranas government. The 104 years period of Ranas came to an end due to their despotic rules.
It was in November 1950 King Tribhuvan restored democracy bringing the Rana government with the support of large number of Nepalese peoples. He restored Shah Rule again in Nepal. After his death King Birendra ruled Nepal and knows as one of the good and peaceful king of Nepal.
The entire family of King Birendra was murdered in June 2001 which is popularly Known and Royal Massacre 2001.
Gyanendra Shah late King Birendra’s brother was coroneted as the King of Nepal after finished the family of Birendra’s.
In 2006, Revolution by the Communist Party of Nepal (Maoist) along with several weeks of mass complaint by all major political parties of Nepal signed a peace agreement, after that remove to King Gyanendra Shah and established national Democratic Republic of Nepal.