What countries agreed to a tripartisan agreement