The Nepalese democracy movement was the combination of a series of political initiatives and movements from the 20th century to 2008 that advocated the establishment of representative democracy, a multi-party political system and the abolition of monarchy in Nepal. It has seen three major movements, the Revolution of 1951, Jana Andolan and Loktantra Andolan (Nepali: लोकतन्त्र आन्दोलन, romanized: Loktantra Āndolan) which ultimately abolished the Shah monarchy, transitioned Nepal towards a republic and reintroduced multi-party bicameral democracy. The beginning of a national movement for democracy in Nepal was the ousting of the Ranas, the long-established Nepalese royal family, in the mid-20th century which was influenced by ethnic and political developments from the Indian nationalist movement. However, this period of democracy ended in 1960 and the Panchayat system of government was introduced, abolishing recent democratic institutions, banning political parties and restricting some forms of freedom of speech. Student protests in 1979 led to a referendum on the direction of the political system resulted in minor adaptations to the existing party-less system, at times increasing executive control over the opposition. A period of economic disputes with India and mounting repression in Nepal led to the Jana Andolan popular movement resulting in the re-establishment of multi-party democracy under a constitutional monarchy framework. Until 2001, the economic and political situation progressed despite corruption, nepotism and the presence of a Maoist insurgency which developed into a nation-wide civil war between the Maoist insurgents and the Government of Nepal. Following the assassination of the Nepalese royal family, King Gyanendra took control of the government and ruled until 2006 through emergency powers enforcing nation-wide oppression of media and civil society. Widespread protests headed by a coalition of seven Nepalese Parties alongside the Maoists led to the resignation of the King and the reinstation of the Parliament, the abolishment of monarchy and transitioned Nepal towards a federal republic, marking an end to the country's civil war. Rana dynasty As one of the regions oldest nation-states, Nepal was unified by the Shah Dynasty and has since been ruled by the Rana royal family after a coup d'état that installed Jung Bahadur Kunwar as prime minister, and later Maharaja of Kaski and Lamjung. During the 19th century, Nepal's expansionist aspirations came in conflict with the British Empire and the British East India Company culminating in the Anglo-Nepalese War of 1814-16. The war eventually concluded with the Treaty of Sugauli on 4