7 year peace agreement