Portugal’s liberation from Spain