South Africa got their World Cup campaign back on track, and ended India's unbeaten run in the process, with a dramatic three-wicket win in Nagpur.
Left needing 13 from the final over, Robin Peterson hit Ashish Nehra for a four and then a six to help the Proteas reach a target of 297 with two balls to spare.
The positive result - which overshadowed the 99th international hundred of Sachin Tendulkar's career - was the perfect tonic for Graeme Smith's side after they had fallen narrowly short in another Group B thriller against England.
Along with Virender Sehwag (73), Tendulkar had put India on course for a massive total before they suffered a monumental batting collapse, losing 9-29 to be bowled out in 48.4 overs, Dale Steyn finishing up with 5-50.
The co-hosts' opening duo had seemed to set the platform for a massive total with an opening stand of 142, with 87 coming off the first 10 overs.
South Africa finally got a breakthrough in the 17th over, when, after surviving a dropped caught-behind chance off Johan Botha, Sehwag played on to become Francois du Plessis' first international wicket.
However, Tendulkar - who took 33 balls to reach 50 in the early onslaught - and Gautam Gambhir combined to put on 125 for the second wicket.
At 267-1 with more than 10 overs to go and a batting powerplay in process, 400 looked a real probability, more than just a pipedream.
Yet any ideas of such a score disappeared in a hurry. The rot set in when Tendulkar was caught at backward point for 111 off the bowling of Morne Morkel at the start of a batting powerplay that saw a mere 30 runs added for the loss of four batsmen.
Gambhir and Yusuf Pathan, who registered a two-ball duck, both perished in one Steyn over while Kallis had Yuvraj Singh caught at long-on for 12.
Line of ducks
From then on skipper Mahendra Singh Dhoni (12 not out) was left to stand and watch at the non-striker's end as the rest of his team-mates came and went: The last three in the order - Zaheer Khan, Ashish Nehra and Munaf Patel - all registered ducks.
South Africa lost skipper Smith in the ninth over of their run chase and despite 61 from Amla and a composed knock of 69 from Kallis, they always appeared to be behind the eight ball.
Their prospects changed thanks to AB de Villiers, who smashed seven boundaries in his 52 off 39 balls before Harbhajan Singh had him caught in the deep during the batting powerplay.
JP Duminy weighed in with 23 and Botha contributed a rapid 23, though his departure after hitting Munaf for 10 off the previous two balls seemed to shift momentum back in India's favour with 13 balls remaining.
Dhoni opted to go with Nehra, rather than Harbhajan (3-53) for the final over but the decision back-fired as Peterson inside-edged the first ball from the left-armer for four and then smashed the next over the rope at mid-wicket.