Rangana Herath took six wickets as Sri Lanka completed a 199-run win over South Africa to sweep the Two-test series with a day to spare.
The veteran spinner snared 6-98, including the vital wicket that broke up South Africa's 123-run sixth-wicket stand just before the lunch interval on Monday.
Theunis de Bruyn (101) posted a maiden Test century and was involved in the 123-run partnership with Temba Bavuma (63) to delay the inevitable after South Africa was set an improbable target of 490 to level the series.
South Africa was eventually dismissed for 290.
Resuming on Monday at 5-139, South Africa's batsmen showed resolve in their best session of the tour so far.
Overnight batsmen Theunis de Bruyn and Temba Bavuma posted half-centuries, the first by South African batsman in the two-Test series.
A tall right-handed batsman playing only his sixth Test, De Bruyn was solid in defence and used his feet to the spinners expertly, an area where South Africa has been exposed badly.
The sixth-wicket partnership between De Bruyn and Bavuma was the highest stand for the South Africans in the series.
The Proteas looked set to bat through the session until veteran Rangana Herath made two breakthroughs in consecutive overs.
With nine minutes left before lunch, Bavuma was dismissed for 63 when wicketkeeper Niroshan Dickwella took a low catch.
Herath then trapped Quinton De Kock (8) lbw with the penultimate ball before lunch.
Sri Lanka won the first Test in Galle by 278 runs.

