Batsman Ross Taylor scored his 17th one-day century on the last ball of the innings as the New Zealand cricketers set South Africa 290 for victory in the second ODI in Christchurch.
Taylor looked like he'd be left stranded on 96 after hitting the ball to a South African on the penultimate delivery only for the fieldsman to throw the diving catch back into the field as he slid towards the boundary rope.
Taylor ran two, then hit a four on the final ball to finish unbeaten on 102, as the Black Caps reached 289 for 4.
Taylor now has the record for the most one-day tons by any New Zealander, surpassing Nathan Astle's 16 ODI hundreds.
Jimmy Neesham was the other batsman at the end of the innings, finishing with an impressive 71 not out off just 57 balls.