South Africa 197 (Bavuma 52, Shami 5-44) and 94 for 4 (Elgar 52*, Bumrah 2-22) need another 211 runs to beat India 327 (Rahul 123, Agarwal 60, Ngidi 6-71, Rabada 3-72) and 174 (Pant 34, Rabada 4-42, Jansen 4-55)
Centurion: India need six wickets to win the first Test against South Africa as the match enters the final day at SuperSport Park, Centurion.
After India were folded in the second session on Wednesday, 40.5 overs were bowled with South Africa losing four wickets in the tricky phase.
At stumps, the Proteas went into the dugout at 94/4 with 211 runs more required to win and six wickets in the bag.
For hosts captain, Dean Elgar is currently unbeaten on the crease as the Test goes into the final day.
Resuming the final session at 22/1, the hosts' batters applied caution against the Indian seamers. But Mohammed Siraj soon got the breakthrough for visitors as he sent back Keegan Petersen to the pavilion for 17 off 36.
Jasprit Bumrah then led the way in India's bowling effort as he soon clean bowled Rassie Van Der Dussen and then Keshav Maharaj in the last over of the day.
South Africa needed 305 runs to win to start with and the hosts got off to a worst possible start with opening batter Aiden Markram getting dimissed in the second over.
Earlier, after India were folded in the second session on Wednesday, nine overs bowled with South Africa losing a wicket in the tricky phase.
In the second session, India lost seven wickets as South Africa folded the visitors for 174 in the second innings.
Virat Kohli, Cheteshwar Pujara and Ajinkya Rahane all failed to leave a mark and were dismissed cheaply.
In the first session, India went into the lunch with a lead of over 200 after losing Shardul Thakur and KL Rahul in the morning.
Resuming the penultimate day on 16/1, South African bowlers kept Indian batters at the edge. Soon, Rabada dismissed Shradul Thakur. Thakur was dismissed for 10 off 26 balls.
After drinks, Rahul chased down on a wide delivery from Ngidi and slashed it behind to Elgar at first slip for 23 off 74 balls.
On Tuesday, India lost Mayank Agarwal's at the cusp of the stumps but the visitors still ended Day Three of the first Test in the driver's seat.