Keegan Petersen has scored a superb 82 as South Africa completed a seven-wicket victory in the third Test and a 2-1 series win over India on a spiteful Newlands pitch by chasing down their challenging target of 212.
It is just the fourth time in 133 years that a team has scored more than 200 in Cape Town to win, and follows the epic seven-wicket victory by Dean Elgar's team in Johannesburg in the second Test when they needed 240 in the fourth innings.
Petersen, who was the leading scorer in the series with 276 runs and won both the player of the match and player of the series awards, was the anchor for the home side on a difficult wicket for batting on Friday.
Yet there were also important unbeaten contributions from Rassie van der Dussen (41) and Temba Bavuma (32) who put on an unbroken 57 for the fourth wicket.
The result means the world's No.1 ranked side India are still in search of a first Test series victory in South Africa, having had high hopes when they won the opening match.
The teams will now play three One-Day Internationals starting in Paarl on Wednesday.
Captain Elgar hailed the win as an important step forward for his side, who have lost a host of experienced players to retirement in recent years.
"I'm pretty elated. I couldn't be prouder of the group of players," he said. "We were thrown under the sword quite a few times in this series and the guys responded brilliantly."
South Africa had started the day on 2-101 and had plenty of alarms against the high-quality Indian seamers, who might have had more reward with better luck.
The visitors only had themselves to blame though when Cheteshwar Pujara dropped Petersen on 59 at first slip, a routine chance off the bowling of Jasprit Bumrah.
South Africa rode that luck and Petersen looked in control before he chopped a Shardul Thakur delivery onto his stumps 40 minutes before lunch. His innings off just 113 balls followed a fine 72 in the first innings.
"He's dominated domestic cricket, awesome to see him have a great series," Elgar said, praising Petersen.
"Long may he grow, there's lot of improvement to come.The world is his oyster."
India, though, were left hugely frustrated by the technology used for dismissal referrals and might have talked themselves into some trouble with their deliberate on-field comments into the stump microphones.
Their frustration threatened to boil over when they believed they had van der Dussen caught behind off the bowling of Mohammed Shami, though the bowler himself showed no interest and returned to his mark.
But captain Virat Kohli sent the not out decision for review, and although there was a spike on the ultra-edge technology, it was ruled the batsman had hit the ground.
It followed India's fury on Thursday when they believed they had home captain Dean Elgar out leg before wicket, but after being given out, the ball-tracker technology suggested the delivery was bouncing over the stumps.
Yet Kohli was gracious in defeat. "It was a very hard-fought series, but South Africa did amazingly well to fight back in the second Test and then capitalise on the same momentum in the third.
"I think in both Tests they won, they were much more clinical with the ball in the crunch moments, and to be honest there was a bit of a lapse of concentration from us as well, which cost us.
"They were deserving winners at the end."