Maoists ended a decade-long civil war in 2006 to join a peace process .