India collapsed on the third morning of the first Test against South Africa at SuperSport Park in Centurion on Tuesday.
However, they struck back when Jasprit Bumrah dismissed South African captain Dean Elgar in the first over of the hosts reply.
South Africa were 21 for one at lunch after bowling out India for 327.
Fast bowlers Lungi Ngidi and Kagiso Rabada took three wickets apiece as India were only able to add 55 runs to their overnight 272 for three.
Ngidi finished with six for 71 and Rabada took three for 72.
Rabada started the collapse in the fourth over of the day.
KL Rahul gloved an attempted hook to wicketkeeper Quinton de Kock after adding only one run to the 122 he scored on the first day.
There was no play on the second day because of rain.
Ajinkya Rahane, the other overnight batsman, played a loose backfoot drive against Ngidi and was caught behind for 48.
Four more wickets fell in quick succession before Bumrah and Mohammed Siraj added 19 for the last wicket.
This prompted a change of bowlers which enabled new cap Marco Jansen to claim a first Test wicket when Bumrah was caught at third slip for 14.
Bumrah produced a good delivery to have Elgar caught behind by Risabh Pant for a single off the fifth ball of the South African innings.