The kingdom of Nepal, also known as the kingdom of Gorka, was a Hindu kingdom formed in 1768 by the unification of Nepal, founded by King Prithvi Narayan Shah. It existed for 240 years until the abolition of the Nepalese monarchy in 2008. During this period, Nepal was ruled by the Shah dynasty, with varying degrees of power. In 1792, Nepali forces under Prince Regent Bahadur Shah invaded Tibet, resulting in the intervention of Chinese and Tibetan forces. After negotiations failed, the Chinese and Tibetan forces attacked Nepal, but eventually went for negotiation after failure at New Ikot. The early 19th century saw the expansion of the East India Company's rule in India, which led to the Anglo-Nepalese war from 1814 to 1816. Nepal was defeated, but retained its independence after signing the Sugauli Treaty, which resulted in territorial concessions. Under Nepalese rule, forces sent by Jung Bahadur Rana defeated the Tibetan forces in 1855. Political instability followed the war and resulted in the ascendancy of the Rana dynasty, which made the office of Prime Minister hereditary in their family. The Rana rulers reduced the shah monarch to a figurehead role and ruled with tyranny, debauchery, economic exploitation, and religious persecution. In 1950, India signed a friendship treaty with Nepal, supporting King Tribhuvan. This led to the end of the Rana dynasty's rule in 1951. Reforms were attempted in the 1960s and 1970s, but an economic crisis in the late 1980s resulted in a popular movement and the adoption of the constitutional monarchy in 1990. The 1990s saw the beginning of the Nepalese Civil War, a conflict between government forces and the insurgent forces of the Communist Party of Nepal Maoist. The Nepalese monarchy was further destabilized by the 2001 Nepalese royal Massacre, which led to the return of King...