A peace deal after 17 years of war