The league of nations was: