Captain Mahendra Singh Dhoni struck an unbeaten 92 as India scored a gritty 22-run victory over South Africa in their second one-day international to level the five-match series 1-1.
South Africa was all out for 225 in 43.4 overs in reply to India's 247-9, with left-arm spinner Axar Patel (3-39) and seamer Bhuvneshwar Kumar (3-41) helping to bowl out the visiting team.
Earlier, India, electing to bat after winning the toss, were reduced to 124-6 in the 30th over by a relentless display of pace and spin bowling by the tourists.
Dhoni stepped in to lead the rescue act with the lower order, adding 41 for the seventh wicket with Bhuvneshwar Kumar (14) and 56 for the eighth with Harbhajan Singh (22).
The skipper finished with four sixes, including one off the final delivery from young paceman Kagiso Rabada, and seven boundaries.
Ajinkya Rahane was the only other batsman to shine with 51.
Fiery pace spearhead Dale Steyn claimed three wickets, while fast bowler Morne Morkel and leg-spinner Imran Tahir took two each.
The tourists lead the five-match series 1-0 after winning a high-scoring thriller in Kanpur by five runs on Sunday. Rahane came to the crease in the second over after Rohit Sharma, who hit 150 in the previous match, was bowled by Rabada for three.
Rahane began by striking Steyn for three boundaries in the fifth over and reached his half-century in the 22nd over.