Sri Lanka came agonisingly close to pulling off a fantastic win over South Africa and drawing the two-match Test series.
But it wasn't to be as South Africa dug in and clung on for an impressive draw. Sri Lanka had their moments of individual brilliance, with their spinners in particular being very good in the second Test.
However, their batsmen let them down spectacularly on more than one occasion, leaving far too much work for the senior players to do.
The hosts made three changes in the second Tests, and here are the ratings for all the players who played in two Tests.
All stats via ESPNCricinfo unless otherwise stated.