From 1996 to 2006, Nepal was wracked by a brutal civil war that pitted a Maoist insurgency against the long-ruling monarchy, whose powerful army initially enjoyed the support of the country's democratic political parties. Peace (brokered by India, with active United Nations support) came only after the Maoists and the democrats agreed in 2005 to establish a Constituent Assembly.