South Africa’s fossil record dates back more than 300-million years