The purpose of the League of Nations was to;