South Africa have slumped to 6-86 at lunch on the second day of the first Test against Sri Lanka, with the visitors facing the prospect of being bowled out for their lowest total against Sri Lanka.
South Africa trailed Sri Lanka's first-innings total of 287 by 201 runs on Friday.
Sri Lanka's three-pronged spin attack made life difficult for South Africa on a turning track as the Proteas lost five wickets in the first session.
South Africa's lowest against Sri Lanka in Tests was 168 in Durban in 2011.
Night watchman Keshav Maharaj was the first to go Friday when he was trapped lbw by veteran Rangana Herath in the third over of the morning.
Offspinner Dilruwan Perera then had Dean Elgar caught at first slip by Angelo Mathews.
Perera bowled unchanged for 14 overs and claimed the crucial wicket of Hasim Amla, who was caught at short leg by Kusal Mendis after making 15.
His third wicket was wicketkeeper batsman Quinton de Kock, who was bowled for three runs.
Left-arm wrist spinner Lakshan Sandakan replaced Herath and struck in his second delivery when he bowled Temba Bavuma for 17.
At 6-51, South Africa were in danger of getting bowled out before lunch but captain Francois Du Plessis and Vernon Philander stitched a vital 35-run stand to see the team through to lunch without further loss.