David Havili and Scott Barrett scored late tries as New Zealand eased the pressure on coach Ian Foster with a thrilling victory over South Africa in their Rugby Championship match at Ellis Park.
Captain Sam Cane and hooker Samisoni Taukei'aho also scored tries as the All Blacks silenced the 61,519 crowd to snap a three-game losing streak.
The Springboks were not as clinical as they had been in the 26-10 win over the visitors the previous week as they scored tries through outstanding centre Lukhanyo Am and winger Makazole Mapimpi, but faced opponents who were vastly improved.

Whether the victory is enough to save Foster’s job will become clear in the coming days, as New Zealand prepare to host Argentina in their next Rugby Championship fixture on 27 August. 27, while the Boks travel to play Australia on the same day.
The All Blacks were better in the scrum, breakdown and under the high ball, all areas they had struggled in seven days ago in Nelspruit.
It took until the 25th minute for New Zealand to open the score via a penalty, but the visitors then accelerated into a 15-0 lead.
They kept possession from a Caleb Clarke break and Cane crossed in the corner, before Taukei'aho barged over from close-range after incessant pressure.

The Boks had a good close to the half, though, as Am showed great strength to beat the tackle of Clarke and score, and out-half Handre Pollard landed a penalty from 55 yards that sailed through the Highveld air to make it 15-10 at the break.
The teams traded penalties before the Boks scored their second try, a trademark steal from Malcolm Marx at the breakdown saw Damian Willemse float a long pass for Mapimpi to cross in the corner.
The Boks took the lead for the first time on 68 minutes after Beauden Barrett tackled scrum-half Jaden Hendrikse without the ball in his own 22 and received a yellow card.
But despite being a man down, the All Blacks produced a big finish as Havili and Barrett dotted down to complete the win.
"Proud is an understatement," said Cane. "Adversity really challenges your character and this group has that. We had to get a few parts of our game right as this is one of the toughest places in the world to come and play.
"We were a lot better at the breakdown and dealt with the contestables better. We defended the maul well. That is what Test footy is all about, getting the small things right to build pressure."