AB de Villiers scored an unbeaten 95 to take South Africa to a comfortable victory, and win the series 3-2.
Live updates from the fifth and the final ODI between South Africa and Pakistan at Benoni.
South Africa innings:
End of over 44: South Africa win by six wickets Chasing an easy target of 206 runs, South Africa lost two early wickets to put some excitement in the match. But the partnership between de Villiers and Behardien took South Africa to comfortable positon, and later de Villiers and Miller had a partnesrship to finish the match and win the series 3-2. Pakistan's dream to win the first bilateral series against South Africa was again shattered.
End of over 42: 182 for 4 South Africa now need just 24 runs off 48 deliveries. South Africa are now looking comfortable for an easy victory.
End of over 37: 170 for 4 South Africa lost the wicket of Farhaan Behardien in the 37th over when he was trying to hook a short delivery, but gave a simple catch to Saeed Ajmal at fine leg. David Miller has come in to join AB de Villiers.
End of over 36: 161 for 3 AB de Villiers and Farhaan Behardien are now looking comfortable to take South Africa to an easy victory. De Villiers was batting on 75 off 85 deliveries, and Behardien was batting on 31 off 33 deliveries. South Africa now need just 45 runs with seven wickets in hand.
End of over 30: 132 for 3 AB de Villiers scored his 32nd half century to take South Africa into a comfortable position. He was very well supported by Farhaan Behardien, who scored the runs quite freely. De Villiers was batting on 57, while Behardien was on 22 off 19 balls. South Africa still need 74 runs to win with seven wickets in hand.
End of over 25: 100 for 3 Mohammad Irfan got the wicket of Hashim Amla in the 23rd over when Amla tried to pull a short of length delivery, gets a top-edge, and Malik comes running from midwicket to take a good catch. Farhaan Behardien has come in to join AB de Villiers. In the next over, De Villiers hits a huge six over long on off Shahid Afridi. South Africa needs 106 runs more to win the series, with seven wickets and 25 overs remaining.
End of over 18: 67 for 2 After losing the wicket of Ingram and de Kock, AB de Villiers came in and started to play his strokes freely to get off the pressure from Hashim Amla. Amla was playing cautiously, without taking much risk against the spinners. Amla was playing at 18, while De Villiers was batting at 26.
End of over 11: 35 for 2 Just when South Africa were looking to have a partnership Mohammad Hafeez got the wicket of Ingram. It was the quicker one on the middle stump and Ingram didn't know whether to go back or come forward, he gets an outside edge on to his off stump.
End of over 10: 33 for 1 After the early wicket of Quinton de Kock, Colin Ingram started to score the runs quickly, with Hashim Amla holding the other end and scoring on singles. South Africa still have an upper hand on this game with nine wickets in hand, and just 173 runs more needed to win the ODI series.
End of over 6: 14 for 1
Junaid Khan finally gets an early breakthrough for Pakistan in the form of Quinton de Kock in the sixth over. It was fuller delivery outsidw off and de Kock tries force it to the off without moving his feets, it takes an inside edge, and breaks into the stumps.
End of over 5: 10 for 0 Openers Hashim Amla and Quinton de Kock made a cautious start chasing the modest target of 206 runs. Pacer Mohammad Irfan started the proceedings for Pakistan with short length deliveries to de Kock. Junaid Khan bowled the next over with two slips, bowling full length deliveries outside off. On the fifth ball of the over, the ball came in and hit the pads of Hashim Amla; it looked close but the umpire gave not out. Pakistan went for a review, but the ball was pitching outside leg, so the decision went on to South Africa's favour.
End of over 49.1: 205 for 10
Morne Morkel picked up the final wicket in the form of Junaid Khan. It was a length ball from Morkel, and Junaid goes for a big hit and misses. South Africa now need 206 runs to win the ODI series. Junaid Khan palyed a valuable innings of 26 runs off 29 balls to take Pakistan to a respectable total of 205 runs. Earlier, Ryan McLaren picked up three wickets in quick succession after Dale Steyn and Lonwabo Tsotsobe got rid of both the openers cheaply.
End of over 45: 185 for 8 After Ryan McLaren picked up three wickets in quick succession, Wahab Riaz and Junaid Khan were trying hard to take Pakistan past 200. Junaid was batting at 13, and Wahab was at 10 with five overs still remaining.
End of over 40: 167 for 8 Ryan McLaren picked up his third wicket in the 39th over, when Misbah-ul-Haq throwed his bat on a full length slower delivery out side the off stump, and a simple catch for AB de Villiers. In the 40th over Morne Morkel picked up the wicket of Ajmal, when he tries to guide the ball in the third-man, but the ball crashed into his stumps. Pakistan are now eight down with ten overs remaining.
End of over 35: 151 for 6 Shoaib Malik, who was looking good and was scoring the runs at quick pace was picked up by Ryan McLaren in the 35th over. It was a soft dismissal as Malik got across the line and chipped the ball into midwicket, which was a offcutter, into the hands of Behardien. Three balls later, Shahid Afridi was caught by Ingram off McLaren on duck. Afridi tried to pull the ball which pitched on the middle of the wicket, didn't timed it well, and it was a straight forward catch for Ingram.
End of over 32: 137 for 4 Shoaib Malik has tried to accelerate the scoring rate for Pakistan after coming in to bat. Malik comes out of crease and hits a flighted delivery from Robin Peterson over midwicket for huge six in the 30th over. Malik was scoring almost run a ball, and was well supported by Misbab-ul-Haq.
End of over 28: 111 for 4 Farhaan Behardien picked up the wicket Younis Khan in the 26th over; another brilliant catch. This time it is Hashim Amla who has picked up the catch. Younis was trying to hit it over the midwicket using his feets, doesn't gets the elevation, and an excellent catch by Amala. Pakistan are now looking in big trouble after losing their fourth wicket. Shoaid Malik has come in to join Misbah-ul-Haq.
End of over 25: 102 for 3 Kamran Akmal, who was looking good to complete his half-century was caught brilliantly by Ryan McLaren off Robin Peterson at backward square leg in the 24th over. Akaml was trying to sweep Peterson, when he got a healthy edge, and McLaren took the catch. Pakistan are now three wickets down as the scoring rate is still below five runs an over. Misbah-ul-Haq has come in to join Younis Khan on the pitch.
End of over 20: 83 for 2 Kamran Akmal and Younis Khan have recovered Pakistan from the early blows given by South African pacers. Akmal was batting at 36, while Younis was at 22. The scoring rate is still below five runs an over, and the bowlers are not giving enough room to score the runs freely.
End of over 15: 58 for 2 After losing both the openers early, Kamran Akmal and Younis Khan were trying to consolidate the Pakistan innings. All the medium pacers from South Africa have been very economical so far with none of them going for more than four runs an over. Kamran Akmal was batting at 23, and Younis Khan was at 10.
End of over 10: 31 for 2 After the fall of Mohammad Hafeez's wicket, the run rate fell down as South African pacers started to dominate on a wicket that hardly looked to be bowler friendly. The new batsman Kamran Akmal tried to increase the scoring rate, but on the other end, Imran Farhat didn't took any risk and played according to the merit of the ball before Tsotsobe picked up his wicket in the tenth over. It was a length delivery just outside off stump and Farhat tries to punch it through the covers without any foot moment, and a simple catch for the keeper.
End of over 4: 11 for 1 Pakistan openers Imran Farhat and Mohammad Hafeez made a cautious start before Dale Steyn picked up Hafeez's wicket in the third over. Mohammad Hafeez was caught at second slip on an angling delivery around the off stump. The next over by Tsotsobe was a maiden.
Toss report: Pakistan have won the toss and decided to bat first on a wicket which hardly has any grass and is batting friendly. Pakistan are going with an unchanged squad into the game. Quinton de Kock and Morne Morkel come in for Smith and Kleinveldt in the South African side.
South Africa team:
Quinton de Kock, HM Amla, CA Ingram, AB de Villiers, F Behardien, DA Miller, RJ Peterson, R McLaren, M Morkel, DW Steyn, LL Tsotsobe
Imran Farhat, Mohammad Hafeez, Younis Khan, Misbah-ul-Haq, Shoaib Malik, Kamran Akmal, Shahid Afridi, Wahab Riaz, Saeed Ajmal, Junaid Khan, Mohammad Irfan