Rohit Sharma breaks Pakistani legend's 23-year-old record
The total of 13 sixes he struck in the match is the most by an Indian batsman in any test.
India's opener Rohit Sharma has broken the Men in Green's legendary cricketer Wasim Akram's record of hitting the maximum number of sixes in a Test match.
Sharma struck his second century of the match to help India set South Africa a daunting victory target of 395 on the fourth day of the first test on Saturday.
The visiting team was 11-1 when bad light ended play for the day, Ravindra Jadeja having trapped first-innings centurion Dean Elgar lbw for 2, after India had declared on 323-4.
"Confidence is high," South Africa paceman Vernon Philander said. "We batted well in the first innings and are in good spirits. It will be a challenge but we are looking forward to batting tomorrow."
Sharma followed up his 176 in the first innings with 127 in the second, hitting 10 fours and seven sixes in his 149-ball knock.
The total of 13 sixes he struck in the match is the most by an Indian batsman in any test. He also became the first player from his country to score centuries in both innings of his maiden test as opener.
Sharma joined compatriots Vijay Hazare, Sunil Gavaskar (three times), Rahul Dravid (twice), Virat Kohli and Ajinkya Rahane by recording two hundreds in the same test.
On the downside, he added an unwanted record by becoming the first Indian to be stumped twice in a test, having been dismissed by Keshav Maharaj for the second time in the game.
Sharma, who struck the fifth test century of his career, put on 169 for the second wicket with Cheteshwar Pujara (81).
Pujara was lbw to Philander after tea, which prompted India to push Jadeja up the order for some quick runs. He obliged with 40 off 32 balls, including three sixes.
Kohli (31) and Rahane (27) were the unbeaten batsmen when India declared.
"I took my time to get used to the pace of the pitch and, once I did that, I was able to play my shots more confidently," Pujara said. "It won't be easy to bat tomorrow.
"It is not easy to play the kind of shots Rohit did. I had fun watching him bat from the other end and his innings helped take pressure off me."
Earlier, off-spinner Ravichandran Ashwin ended with 7-145 as South Africa added 46 runs to its overnight score to finish on 431 all out.