Tillakaratne Dilshan scored his 17th One-day international century and shared a second wicket stand of 184 with Kumar Sangakkara to guide Sri Lanka to a series clinching eight wicket win over South Africa in the fourth match at Pallekele on Sunday.
The hosts were outplayed in the third match two days ago at the same venue but came back strongly with a clinical performance with bat and ball to take a 3-1 lead in the five-match series.
Man-of-the-match Dilshan paced his innings expertly, finishing unbeaten on 115 off 130 balls, while Sangakkara made 91 off 101 balls as Sri Lanka successfully chased down South Africa's total of 238 with six overs to spare.
Sangakkara was out going for his century, edging a drive off Morne Morkel to mid-off with his side 10 runs from their target.
He had a life on 33 when South Africa decided not to review a lbw shout off JP Duminy. Replays indicated the ball, which struck the batsman in line with the stumps, would have hit leg stump.
Sangakkara cashed in on his luck but fell short of what would have been his 17th One-day hundred.
South Africa looked headed for a total close to 300 when they were 172 for three at the halfway mark, but lost their way as the Sri Lankan spinners took control.
South Africa lost their remaining seven wicket for 62 runs, with Ajantha Mendis (four for 51) the chief destroyer.
Hashim Amla, who missed the first and third matches through injury and could not bat in the second, hit a fluent 77 off 71 balls, while Duminy was last out for 97.
The pitch had lost pace since the last match, making batting easier, and the Sri Lankan batsmen capitalised on the conditions.
The fifth and final match will be played in Colombo on Wednesday.
H. Amla lbw b Dilshan 77
Q. de Kock b Malinga 8
JP Duminy b Mendis 97
AB de Villiers c Sangakkara b Dilshan 4
F. du Plessis st Sangakkara b Herath 23
D. Miller b Mendis 1
F. Behardien c Thirimanne b Mendis 0
R. Peterson c Sangakkara b Malinga 13
R. Kleinveldt c Dilshan b Malinga 8
M. Morkel lbw b Mendis 0
L. Tsotsobe not out 3
Extras (b-4) 4
Total (all out, 48.4 overs) 238
Fall of wickets: 1-17, 2-118, 3-126, 4-172, 5-173, 6-173, 7-191, 8-203, 9-205, 10-238.
Bowling: Malinga 9-0-52-3, Mathews 7-1-31-0, Mendis 9.4-0-51-4, Perera 3-0-22-0, Herath 10-0-38-1, Dilshan 10-0-40-2.
T.Dilshan not out 15
M.Jayawardene c Amla b Tsotsobe 12
K.Sangakkara c Kleinveldt b Morkel 91
L.Thirimanne not out 1
Extras (lb-2 nb-1 w-17) 20
Total (for two wickets, 44 overs) 239
Fall of wickets: 1-45, 2-229.
Bowling: Morkel 10-1-62-1 (7w), Tsotsobe 7-0-48-1 (1nb, 1w), Kleinveldt 8-0-33-0 (1w), Peterson 8-0-46-0, Duminy 10-1-34-0 (6w), Behardien 1-0-14-0 (2w).
Image: Tillakaratne Dilshan
Photographs: Robert Prezioso/Getty Images