Pakistan have levelled their one-day international series with South Africa thanks to a six-wicket victory in Centurion.
Both teams have now won one game each with three left to play.
The match was reduced to a 44-overs contest due to rain and the hosts were bowled out for 191 with four balls left in their innings.
Farhaan Behardien top scored for South Africa with a knock of 58, while Robin Peterson contributed with 44 runs.
However, Hashim Amla (17), Graeme Smith (10) and Colin Ingram (0) all struggled at the crease.
Mohammad Irfan was the main threat with the ball for the tourists with four wickets to his name.
Pakistan reached their target inside 39.2 overs as Mohammad Hafeez (31), Younis Khan (32), Misbah-ul-Haq (57 not out) and Shoaib Malik (35 not out) saw them to victory.