Port Elizabeth: South Africa and Sri Lanka were locked in a tense, low-scoring battle at the end of the second day of the second Test at St George's Park on Friday.
Needing 197 runs to achieve an historic series win, Sri Lanka were 60 for two at the close.
It was an uncommon day's play amid which 18 wickets fell and 282 runs were scored, leaving the two groups with an opportunity of triumph.
Sri Lanka, who won the primary Test in Durban by one wicket, will turn into the main group from Asia to win a Test arrangement in South Africa in the event that they can score 137 additional runs, while South Africa will gain a face-sparing offer of the arrangement by taking the staying eight wickets.
South Africa appeared to be set to take control when Sri Lanka crumbled in a whirlwind of strokes to be bowled out for 154 preceding lunch, giving South Africa a first innings lead of 68 runs.
However, Sri Lanka's bowlers hit back, bowling out the hosts for an irrelevant 128 - by 40 runs their most minimal aggregate in a home Test against the islanders.
Suranga Lakmal, Sri Lanka's most experienced bowler, took four for 39, while low maintenance off-spinner Dhananjaya de Silva stepped through an Examination best three for 36.
With just 10 wickets in 24 past Tests, De Silva had match figures of five for 51. He was constrained into a forefront job when left-arm spinner Lasith Embuldeniya endured a gravely separated left thumb, damage which required medical procedure and kept him from batting or taking the field on Friday.
De Silva appeared to have guaranteed a fourth wicket and wrapped up the South African innings when Faf du Plessis ran after the wicket and was puzzled with the aggregate on 117 for nine. Be that as it may, a check by the umpires uncovered it had been a no-ball and 11 additional runs were included before Lakmal caught last batsman Duanne Olivier leg before wicket.
Du Plessis was left unbeaten on 50.
Sri Lankan commander Dimuth Karunaratne and Lahiru Thirimanne put on 32 for the main wicket toward the beginning of their pursuit yet both were expelled in about six balls.
Thirimanne was gotten behind off Kagiso Rabada for the second time in the day in the wake of making ten to be followed in the following over by Karunaratne for 19, got behind off Duanne Olivier's first bundle of the innings.
Oshada Fernando and Kusal Mendis saw out the day, with Fernando striking two limits in the last finished, bowled by left-arm spinner Keshav Maharaj.
In a frantic begin to the day, Sri Lanka scored 94 runs yet lost six wickets in 17.4 overs.
Medium-term batsmen Thirimanne and nightwatchman Kasun Rajitha were rejected in the initial four overs of the morning after Sri Lanka continued on 60 for three. They were trailed by a progression of batsmen who played excessive shots previously dying.
Kusal Perera, the saint of Sri Lanka's unexpected success in the main Test in Durban, whipped two fours and a venturesome six over additional spread in one over from Rabada before being gotten behind in the quick bowler's next finished. He made 20 off 15 balls.
De Silva struck four fours in making 19 off 24 balls and Niroshan Dickwella hit six fours and a six preceding he was last man out for 42 off 36 conveyances. Rabada took four for 38.
South African opening batsman Dean Elgar fell inexpensively for the third time in the arrangement to Vishwa Fernando before lunch and there was a constant flow of wickets amid the evening, coming full circle in the expulsion of Hashim Amla for 32 and in-structure Quinton de Kock for one in the last two overs previously tea.
The staying five wickets included just 37 pursues tea, with none of the lower-request batsmen ready to give huge help to Du Plessis.