Where was the agreement formalised