Colombo: Sri Lanka are eyeing a big victory as South Africa, needing 490 to win the second cricket Test, were reduced to 139 for five in their second innings at stumps on the third day on Sunday.
Spinners Akila Dananjaya and Rangana Herath took two wickets each to place the hosts within five wickets of a 2-0 series sweep.
Theunis de Bruyn was batting on 45 with Temba Bavuma on 14.
Herath produced the first breakthrough for Sri Lanka, trapping Aiden Markram lbw for 14 with the total on 23.
Dean Elgar and de Bruyn shared 57 runs for the second wicket, aided by a reprieve for Elgar from a catch by the wicketkeeper off a Dilruwan Perera no-ball. Elgar failed to make his luck count as he was trapped lbw by Perera for 37 with the total on 80.
Hashim Amla was bowled by Herath for seven and Dananjaya struck twice in successive deliveries dismissing Faf du Plessis (7) and Keshav Maharaj (0) to reduce South Africa to 113 for five.
Dananjaya returned two for 35 while Herath had two for 54.
Earlier, Sri Lanka declared their second innings on 275 for five setting South Africa a challenging target.
Dimuth Karunaratne top scored for Sri Lanka with 85 while Angelo Mathews (71) and Danushka Gunathilaka made useful contributions.
South African left-arm spinner Maharaj took three wickets for 154 runs following up on his career-best nine wickets in the first innings.
South Africa is 0-1 down in the two-match series and must put on a record breaking performance on a spinning pitch at the Sinhalese Sports Club if they are to level the series.
The highest successful run chase in test cricket is 418 made by the West Indies in Antigua in 2003.
South Africa have not lost a test series to Sri Lanka since 2006.
South Africa wicketkeeper Quinton De Kock became the fastest to complete 150 dismissals in test cricket in 35 matches when he took a catch to dismiss Karunaratne in the morning session. Australia’s Adam Gilchrist had reached the milestone in 36 tests.
Sri Lanka reached 338 in its first innings and bowled South Africa out for 124, securing a 214-run first innings lead.
Sri Lanka won the first test in Galle by 278 runs.
Sri Lanka 1st innings
338 all out
South Africa 1st innings
124 all out
Sri Lanka 2nd innings
D Gunathilaka c D Elgar b K Maharaj 61
D Karunaratne c Quinton de Kock b Lungi Ngidi 85
D de Silva lbw K Maharaj 0
K Mendis Run Out A Markram 18
A Mathews c F du Plessis b K Maharaj 71
R Silva not out 32
N Dickwella not out 7
Extras 0b 0lb 1nb 0w 1
Total (81.0 overs) 275 decl
Fall of wickets: 1-91, 2-102, 3-136, 4-199, 5-263
Bowling: Maharaj 40-4-154-3, Rabada 8-0-42-0, Markram 7-1-18-0, De Bruyn 5-0-20-0, Steyn 11-2-30-0, Ngidi 9-5-9-1, Elgar 1-0-2-0
South Africa 2nd innings
D Elgar lbw D Perera 37
A Markram lbw R Herath 14
T de Bruyn not out 45
H Amla b R Herath 6
F du Plessis c A Mathews b A Dananjaya 7
K Maharaj lbw A Dananjaya 0
T Bavuma Not Out 14
Extras 8b 4lb 4nb 0w 16
Total (41.0 overs) 139-5 \
Fall of wickets: 1-23, 2-80, 3-100, 4-113, 5-113
Herath 15-1-54-2, Perera 16-4-38-1, Dananjaya 10-2-35-2