Delhi - India rode on an unfinished 59-run stand between Virat Kohli and Ajinkya Rahane to put themselves in the driver's seat in the fourth and final Test against South Africa on Saturday.
At tea, the hosts were 116-4 for a lead of 329 with six wickets in hand.
Skipper Kohli was batting on 39 with first-innings centurion Rahane on 22 at the Feroz Shah Kotla stadium in New Delhi.
India, who have already sealed the series with wins in the first and third Tests, had bowled out the top-ranked tourists for 121 after making 334 for a first-innings lead of 213 runs.
Paceman Morne Morkel took 3-22 and Imran Tahir 1-29 to reduce India to 57-4 but the fifth wicket pair of Kohli and Rahane prevented a freefall.
After taking two wickets in the morning session, Morkel returned to pick his third scalp with a stinging yorker from around the wicket that sneaked under Shikhar Dhawan's bat and hit the leg stump.
Dhawan, celebrating his 30th birthday Saturday, faced 86 balls to make 21.
Cheteshwar Pujara (28) was castled by Imran Tahir soon after but the bowlers were denied any further success.
Kohli risked being fined for showing dissent to the umpire when he angrily stood his ground, hands on hips, to show his displeasure when he was given out caught behind off Tahir.
The Indian skipper, on five then, was lucky to have the decision reversed as TV replays showed Tahir had overstepped.
The Indians were off to a shaky start in their second knock, losing two wickets with just eight runs on the board.
Opener Murali Vijay (three) was given out to a rising ball from Morkel that appeared to have grazed his armguard before flying through to wicketkeeper Dane Vilas, who leapt high in the air to take a one-handed catch over his head.
Vijay looked displeased with the decision, shaking his head as he walked off the ground.
Morkel struck again with the first ball of his next over to dismiss the struggling Rohit Sharma for a golden duck, the ball zipping past his bat and flattening the off-stump.
Sharma's best score in the series has been a 23 in Nagpur, raising doubts about his temperament in the longest form of the game.