The origins and legacies of World War I