Mayank Agarwal showed an insatiable appetite for runs, converting his maiden Test hundred into a brilliant double hundred on the second day of first Test.
Playing his first Test in India, Agarwal showed remarkable concentration and endurance for his monumental 215 off 371 balls that allowed the hosts to declare their first innings at 502/7 in 136 overs.
South Africa were staring down the barrel at the close of play, losing Markram (5), De Bruyn (4) and Piedt (0) under floodlights to be 39 for three for trailing India by 463 runs.
Ravichandran Ashwin provided the breakthroughs by getting through the defences of Markram with a classical off-break that turned sharply.
Rohit and Agarwal, who began the day on 115 and 84 respectively with India at 202 for no loss, converted their opening partnership into a record-breaking one with a 317-run stand before lunch.