legated