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.