Rassie van der Dussen and all-rounder Andile Phehlukwayo guided South Africa to a series-levelling win in a roller-coaster second ODI against Pakistan at Kingsmead.
The pair came together when South Africa were reeling at 80 for five in reply to Pakistan's 203, and put on an unbeaten 127-run partnership to see their side home with five wickets in hand and eight overs to spare.
Van der Dussen, playing in only his second ODI, made 80* after scoring 93 on debut in South Africa's five-wicket defeat in the first match in Port Elizabeth.
"What you look for in new players is composure and calmness at the crease. We're looking for big-match players. He's smashing that door down for a permanent position in our strongest XI," said South African captain Faf du Plessis.
Phehlukwayo was named man-of-the-match after two career-best performances. He took four for 22 in Pakistan's innings and then scored 69*, what Du Plessis said was an outstanding partnership.
The match went through several phases. An early finish seemed likely when Pakistan crashed to 112 for eight after being sent in to bat. But Hasan Ali, batting at number ten, hit a career-best 59 off 45 balls and helped captain Sarfraz Ahmed (41) put on 90 for the ninth wicket to enable Pakistan to reach 203.
Left-arm fast bowler Shaheen Shah Afridi then took wickets in each of his first three overs to reduce South Africa to 29 for three.
Van der Dussen and David Miller (31) put on 51 for the fourth wicket but Shadab Khan struck with his second and third deliveries to swing the odds back towards Pakistan.
Phehlukwayo seemed unable to read Shadab and a key moment came with his score on seven when he was given out lbw to Shadab, only to be overturned on a review as the ball tracker showed the ball was spinning past his leg stump.
"There were too many soft wickets," Sarfraz said of Pakistan's top-order batting. "Hasan Ali batted very well. We had a chance at 80 for five. We needed one more wicket."
Earlier, South Africa dominated the early exchanges. Four batsmen succumbed to short-pitched bowling from South Africa's seam bowlers, while three fell to left-arm wrist spinner Tabraiz Shamsi.