Sri Lanka is staring at yet another series defeat.
At close of play on the third day of the third and final Test against South Africa at Newlands on Thursday, the visitors were in danger of an innings defeat after losing 12 wickets.
Sri Lanka had made 138 for four in their second essay after having been made to follow on, still 203 runs adrift of making the home team bat again.
South Africa's fast bowlers, backed by the leg spin of Imran Tahir, put Sri Lanka's batsmen under inexorable pressure after the first two days of the decisive Test were dominated by batsmen.
Only six wickets fell while 729 runs were scored in the first two days but it was a complete contrast on Thursday as 12 wickets fell for 228 runs despite conditions remaining largely favourable for batting.
Sri Lanka were bowled out for 239 in their first innings, with fast bowlers Dale Steyn and Vernon Philander taking three wickets apiece.
Philander struck again in the fourth over of the follow on when Tillekeratne Dilshan drove loosely at a ball which moved away, edging a catch to wicketkeeper Mark Boucher.
Lahiru Thirimanne and Kumar Sangakkara showed some fight in a second wicket stand of 67, although Thirimanne should have followed his fellow opener to the pavilion when he was on 10. He edged Morne Morkel and Boucher put down a straightforward chance.
Thirimanne made 30 before he was caught at short leg off Jacques Kallis after umpire Richard Kettleborough initially gave him not out. South Africa asked for a review and the 'hot spot' revealed a faint edge from his bat before the ball looped from his thigh pad to Hashim Amla.
Tahir gave Sangakkara a difficult time, bowling into rough outside the left-hander's off stump, before having the batsman caught at slip for 34 when he went back to a ball which bounced sharply.
Morkel claimed the key wicket of Mahela Jayawardene with the assistance of a diving catch at second slip by Kallis. Thilan Samaraweera and Angelo Mathews added an unbeaten 40 for the fifth wicket before the close.
Sri Lanka collapsed in their first innings, losing eight wickets for 90 runs after resuming on 149 for two. Steyn took three for 56 and Philander three for 46. Both bowled superbly on Thursday, with Steyn's figures for the day an impressive three for 16 off eight overs, while Philander was even better, his three wickets costing 12 runs off nine overs.