Opener Fakhar Zaman's scintillating 193 was not enough for Pakistan, who lost the second one-day international to South Africa by 17 runs at The Wanderers on Sunday as the hosts levelled the three-game series.
Fakhar was left to do it all on his own as Pakistan reached 324 for nine in reply to South Africa's 341 for six, his power-hitting including 18 fours and 10 sixes for the record score in ODIs in Johannesburg, beating the 175 by Herschelle Gibbs against Australia in 2006.
It was also the best score by a visiting player to South Africa, with the next highest in Sunday's Pakistan innings being 31 from captain Babar Azam.
Fakhar’s magnificent innings of 155 balls ended in bizarre fashion when he cantered home for a second run off the first ball of the final over, but a throw from the fence by Aiden Markram was a direct hit and the batsman's excellent chance for a second double-ton in the 50-over format was gone.
The tourists had elected to field first and South Africa’s impressive total was boosted by four fine half-centuries, each different in their make-up.
Newly-appointed captain Temba Bavuma scored 92 from 102 balls and warmed to his task as the innings wore on, while opener Quinton de Kock looked edgy and had luck in his 80 from 86 balls.
Rassie van der Dussen, who got a century in the first match in Pretoria on Friday, kept up his good form with a powerful 60 from 37 balls that included four sixes, before David Miller finished the innings with 50 not out from 27 balls.
Seamer Haris Rauf was comfortably the pick of the Pakistan bowlers with 3-54 from his 10 overs.
The third and final ODI is scheduled for Pretoria on Wednesday but South Africa will be without leading players De Kock, Miller, Kagiso Rabada and Anrich Nortje as they head to the Indian Premier League.
- IND vs ENG Live Score Updates, 4th Test Day 4: Jurel, Gill take India to five-wicket win
- IND vs ENG, 4th Test: India records 17th consecutive series win at home
- Ranji Trophy Live Score, Day 4 Quarterfinal updates: MP beats Andhra by 4 runs; Kaverappa picks fifer vs Vidarbha
- WTC 2023-25 Points Table Update: India extends lead at 2nd place after IND vs ENG 4th Test
- PKL 10: Patna Pirates defender Krishan Dhull gears up for playoff challenge against Dabang Delhi