The Kingdom of Nepal (Nepali: नेपाल अधिराज्य), also known as the Gorkha Empire (Nepali: गोरखा अधिराज्य), was a Hindu monarchy in South Asia that existed from 1768 to 2008. The kingdom was formed out of the expansion of the Gorkha Kingdom by King Prithvi Narayan Shah, a Gorkha monarch of the Shah dynasty who claimed to be of Thakuri origin from chaubisi.
After the invasion of Tibet and plundering of Digarcha by Nepali forces under Prince Regent Bahadur Shah in 1792, the Dalai Lama and Chinese Ambans reported to the Chinese administration for military support. The Chinese and Tibetan forces under Fuk'anggan attacked Nepal but went for negotiations after failure at Nuwakot. Mulkaji Damodar Pande, who was the most influential among the four Kajis, was appointed after the removal of Bahadur Shah. Chief Kaji (Mulkaji) Kirtiman Singh Basnyat, tried to protect king Girvan Yuddha Shah and keep former king, Rana Bahadur Shah away from Nepal. However, on 4 March 1804, the former king came back and took over as Mukhtiyar and Damodar Pande was then beheaded in Thankot. The 1806 Bhandarkhal massacre instigated upon the death of Rana Bahadur Shah, set forth the rise of the authoritative Mukhtiyar Bhimsen Thapa, who became the de facto ruler of Nepal from 1806 to 1837. During the early nineteenth century, however, the expansion of the East India Company's rule in India led to the Anglo-Nepalese War (1814–1816), which resulted in Nepal's defeat.
Under the Treaty of Sugauli, the kingdom retained its internal independence, but in exchange for territorial concessions, marking the Mechi and Sharda rivers as the boundary of Nepalese territories. The territory of the kingdom before the Sugauli treaty is sometimes nascently referred to as Greater Nepal. In the political scenario, the death of Mukhtiyar Mathbar Singh Thapa ended the Thapa hegemony and set the stage for the Kot massacre. This resulted in the ascendancy of the Rana dynasty, of Khas (Chhetri) background, whose members subsequently served as the hereditary prime minister for over a century, from 1843 to 1951. Beginning with Jung Bahadur, the first Rana ruler, the Rana dynasty reduced the Shah monarch's role to that of a figurehead and exercised absolute control. The Rana rule was marked by tyranny, debauchery, economic exploitation and religious persecution.
King Tribhuvan played a significant role in ending the autocratic Rana regime and initiating the democratic movement in Nepal. Although Tribhuvan's power was constrained by the Rana dynasty, he maintained covert support for political movements working to establish democracy, including ties with the Nepali Congress and other anti-Rana groups. In November 1950, amidst growing political unrest and demands for reform, King Tribhuvan sought asylum in the Indian Embassy in Kathmandu and later went into exile in India with most of the royal family. The Rana regime briefly declared his grandson, Gyanendra, as the new king, a move that was not recognized internationally.
Unsuccessful attempts were made to implement reforms and adopt a constitution during the 1960s and 1970s. An economic crisis at the end of the 1980s led to a popular movement that brought about parliamentary elections and the adoption of a constitutional monarchy in 1990. The 1990s saw the beginning of the Nepalese Civil War (1996–2006), a conflict between government forces and the insurgent forces of the Communist Party of Nepal (Maoist).
The Nepalese monarchy was further destabilised by the 2001 Nepalese royal massacre, which resulted in Gyanendra assuming the throne again. His imposition of direct rule in 2005 provoked a protest movement unifying the Maoist insurgency and pro-democracy activists. He was eventually forced to restore the House of Representatives, which in 2007 adopted an interim constitution greatly restricting the powers of the Nepalese monarchy. Following an election held the next year, the Nepalese Constituent Assembly formally voted to declare a republic in its first session on 28 May 2008.
The country was expanded from that of the Chaubise principality called the Gorkha Kingdom. In Nepal, the warrior people are not referred to as 'Gurkhas', they are called 'Gorkhalis', meaning the 'inhabitants of Gorkha.' Their famed battle cry is "Jai Kali, Jai Gorakhnath, Jai Manakamana".
The etymology of the geographical name 'Gorkha' is indeed related to the Hindu mendicant-saint Gorakhnath. In the village of Gorkha, there is a temple dedicated to Gorakhnath as well as another dedicated to Gorakhkali, a corresponding female deity. The Nepali geographical encyclopedia 'Mechi dekhi Mahakali' (From Mechi to Mahakali) published in B.S. 2013 (1974–75 AD) by the authoritarian Panchayat government to mark the coronation of King Birendra Shah agrees with the association of the name of the place with the saint but does not add any further detail. The facts regarding when the temples were built and the place named after the saint are lost in the sweeping winds of time. We may guess that these developments took place in the early part of the second millennium of the Common Era following the rise of the Nath sect. In fact, the pilgrimage circuit of the sect across the northern Indian sub-continent also spans a major part of Nepal including the Kathmandu Valley. The Newars of Medieval Nepal have a couple of important temples and festivals dedicated to the major Nath teachers. Immediately before the rule of Gorkha by the Shahs, Gorkha was inhabited by both aboriginee Aryan and Tibetan Mongoloid ethnic groups Magars the largest among the ethnic groups, and the area was historially part of the Magarat region and was ruled by the Magars King Khadka Magar and Ghale Magar. Khadka Magar sub-clan of Rana-Magar and Ghale Magar sub-clan of Thapa-Magar clan, who were probably of Magar origin. At first, Dravya Shah captured Liglig-kot kingdom from Magar King Dalsur Ghale Magar. Gangaram Rana Magar also helped Dravya Shah to defeat a Magar King. After captured Ligligkot, (now Gorkha) Dravya Shah defeated the King Mansingh Khadka Magar in 1559 AD and commenced Shah rule over the principality. Prithvi Narayan Shah belonged to the ninth generation of the Shahs in Gorkha. He took the reins of power in 1742 AD.
King Prithvi Narayan Shah, the ruler of the small principality of Gorkha, initially drafted the Gorkhali Army. The Chief of the Gorkhali Army were drawn from Chhetri as well as Magar noble families who were a powerful group of Gorkha, alongside the influential Pande family, Basnyat family and Thapa dynasty before the rule of the Rana dynasty. Gorkha Bhardar Kaji Biraj Thapa Magar was the first Chief of Gorkhali Army in the 18th century, however, the first civilian army chief was Kaji Kalu Pande who had significant role in the campaign of Nepal. He was considered as an army head due to the undertaking of duties and responsibilities of the army but not by the formalization of the title.
The first battle by Gorkhali forces united under King Prithvi Narayan Shah was the Battle of Nuwakot. The first army commander was Kaji Kalu Pande of the Pande noble family of Gorkha and Jayant Rana Magar (former Kaji of Gorkha) was appointed General by King of Kantiur Jaya Prakash Malla to defend Nuwakot against Gorkha. Pande put up tactics to attack Nuwakot, a strategic fort of Malla king of Kathmandu, from multiple sides by surprise. On 26 September 1744, Pande with a contingent of soldiers climbed from the northern side of Nuwakot city at Mahamandal. He led the surprise attack with a Gorkhali war cry of "Jai Kali, Jai Gorakhnath, Jai Manakamana". The panicked soldiers of Nuwakot under commander Shankha Mani Rana Magar (son of Jayant Rana Magar) tried to defend but lost after their commander was killed by the 13-year-old Prince Dal Mardan Shah, brother of the king. The second contingent of Gorkhali forces led by Chautariya Mahoddam Kirti Shah (also a brother of the king) passed Dharampani and faced strong tussle but ultimately won over the defenders. The third part of the forces, led by the king himself, advanced to the fort of Nuwakotgadhi after the capture of Mahamandal. The soldiers panicked by death of their commander fled to Belkot (Jayant Rana Magar second fort) from the Nuwakot fort and Nuwakot was annexed by Gorkha.