He never abandoned determinism for teleology.
No goal-directedness or teleology in the mechanisms of natural selection.
History, where some degree of teleology can be admitted, and biology, where it cannot.