The agreement follows months of intermittent negotiations mediated by Egypt and Qatar, with support from the United States, ...