Live updates from the third ODI between South Africa and Pakistan in Johannesburg on Sunday.
309 all out in 48.1 overs Medium pacer Rory Kleinveldt closes out the match for the hosts cleaning up Wahaz Riaz with a yorker for 45. With the win, the Proteas take a 2-1 series lead. What a cracker of a match.
End of over 47: 304 for 9 Junaid Khan gives a return catch to fast bowler Dale Steyn to bring the hosts within one wicket of victory. However, plenty of credit to Hafeez's men for not surrendering tamely. Pakistan now need 40 off 18 ball.
End of over 44: 287 for 8 Saeed Ajmal goes off the first ball of Ryan McLaren. Gives a simple catch to Rory Kleinveldt at mid-off for eight. The tourists now need 57 runs to win off 36 balls.
End of over 36: 246 for 7 Afridi picks up fours off the first two and then gives a simple catch to Ryan McLaren at long-off off a lower fulltoss from Tsotsobe. His innings of 88 off 48 balls that included seven sixes and five fours comes to an end. It's certainly the end for Pakistan. But what an innings he has played.
End of over 35: 235 for 6 Shahid Afridi gets a reprieve, is bowled by Ryan McLaren off a no-ball. Billy Bowden was unsure and consulted the third umpire. After a wide, Afridi launches his 7th six over long-on. The ball goes out of the park. He is really turning it around. Wahab just needs to stick around, Afridi seems to be doing the rest.
End of over 33: 203 for 6 Misbah-ul-Haq's wicket against the run of play has put South Africa back on top. Misbah makes room for himself as he intends to drive through the covers, however, the Ryan McLaren delivery is a bit full and takes the edge and AB de Villiers does the rest behind the wickets. Misbah made 28. Wahab Riaz has joined the dangerous Shahid Afridi, Pakistan's last hope.
End of over 32: 201 for 5 Shahid Afridi has turned the game on its head with a blistering 34th ODI fifty and it has come off 34 balls. He and Misbah (28) have added 69 runs so far but surely more effort is needed as the tourists are in pursuit of a massive 344.
End of over 25: 133 for 5 Shoiab Malik is the latest casualty, picks out medium pacer Rory Kleinveldt at mid-off as he tries to drive a slower delivery from Tsotsobe. The unpredictable Shahid Afridi has joined Misbah-ul-Haq. Pakistan, in pursuit of 344, are by all means down in the dumps.
End of over 22: 124 for 4 Younis Khan too goes for 19. Pakistan's chase is in really bad shape. Younis tries to cut a shortish Peterson delivery and inside-edges it onto his stumps. Shoaib Malik has joined Misbah-ul-Haq at the crease.
End of over 20: 112 for 3 Mohd Hafeez's wicket has put Pakistan in a big spot of the bother. The captain holes out to Dale Steyn at long-off off Peterson after scoring 57. Misbah-ul-Haq and Younis Khan now have a big task on their hands.
End of over 17: 96 for 2 Kamran Akmal throws his wicket away as he tries to upper-cut a rising ball off Ryan McLaren. AB de Villiers takes a simple catch as Kamran goes for 30.
End of over 16: 96 for 1 Mohd Hafeez finally cuts loose to launch Robin Peterson for back-to-back sixes and completes his 16th ODI fifty. It has to be said that Pakistan, in pursuit of 344, are alive in the chase.
End of over 14: 73 for 1 Mohd Hafeez (35) and Kamran Akmal (28) have batted really well to stabilize the innings following the early departure of the dangerous Nasir Jamshed. But target is really big and they need to up the ante, which they are not doing right now.
End of over 4: 15 for 1 First strike to Lonwabo Tsotsobe. On the last ball of the over, Nasir Jamshed attempts a loft over mid-off but ends up popping a catch to Hashim Amla. Pakistan have been dented early in their chase.
South Africa innings
End of over 50: 343 for 5 South Africa finish on 343. A very strong finish for the home team, with Faf du Plessis clubbing 45 off 19 balls at the death. The 48th over cost 20 with du Plessis hitting Wahab Riaz for two fours and two sixes. The 49th went for just eight, and in the final over du Plessis fell to Wahab after swatting the first ball for six. Fine cameo from du Plessis. South Africa were in early trouble after Mohammad Irfan's two wickets but Hashim Amla and AB de Villiers forged a record third-wicket partnership for all ODIs. Both of their centuries came at a rapid speed and contained some stunning shots. Pakistan need 344 to take the series lead.
End of over 47: 304 for 4 AB de Villiers' outstanding innings ends with an athletic catch at deep midwicket from Shoaib Malik. De Villiers slog-sweeps and gets a top edge that Malik takes with a dive in the deep. The South African captain departs for 128 off 108 balls after taking his team past 300.
End of over 45: 290 for 3 Hashim Amla departs for 122 off 113 balls having featured in ODI cricket's highest third-wicket partnership of all - 238. Just after the record is broken, Amla becomes Wahab Riaz's first wicket as he drives a catch to cover. It should have been on 36, but Mohammad Hafeez spilled a straightforward catch off the same bowler at point. AB de Villiers is still there on 119.
End of over 40: 240 for 2 AB de Villiers also reaches three figures. Gets there with a thin inside edge off Saeed Ajmal.
End of over 39: 234 for 2 ODI century No. 11 for Hashim Amla. Its been a terrific innings. Amla needs 99 balls to get there. He has carried South Africa from early trouble to a platform from where AB de Villiers and the middle order can tee off. De Villiers is on 98, having swatted two sixes and a four off Mohammad Hafeez.
End of over 34: 184 for 2 Hashim Amla and AB de Villiers are dominating. From having scored 26 in the first ten over, South Africa are now ticking at a run rate of 5.38. In the last five overs, Amla and de Villiers have scored at more than seven an over.
End of over 29: 143 for 2 AB de Villiers too has fifty. He gets there with a boundary off Mohammad Hafeez, who earlier dropped Hashim Amla on 36. The third-wicket stand is now worth 101.
End of over 22: 101 for 2 Fifty for Hashim Amla, off 53 balls and with four boundaries. He and AB de Villiers (28* off 25 balls) have added 59 so far.
End of over 19: AB de Villiers is looking good, but Pakistan have let off Hashim Amla on 36. Mohammad Hafeez is the culprit, dropping Amla at point off Wahab Riaz. De Villiers has eased to 17 off 17 balls.
End of over 14: 43 for 2 Mohammad Irfan comes back into the attack and gets rid of Colin Ingram for 17. The batsman was surprised by the lift that Irfan extracted off the pitch and nicked another catch to Kamran Akmal.
End of over 12: 37 for 1 Colin Ingram and Hashim Amla have put on 33 to steady the innings. Each batsman has two fours to his name.
End of over 7: 20 for 1: Hashim Amla gets the score moving with two fours off Mohammad Irfan. The first is a belter of a shot that flies past extra cover, the second a gentle glance past square leg.
End of over 3: 4 for 1: An early wicket for Mohammad Irfan, who gets Graeme Smith for 3 off 11 balls. Smith moved across his stumps and pushed at the ball which gained on him, and the resultant edge was held by the wicketkeeper.
Toss and team news:
Pakistan captain Misbah-ul-Haq won the toss and elected to bowl first against South Africa in the third one-day international on Sunday. Pakistan - which levelled the five-match series at Centurion on Friday with a six-wicket win - left out fast bowler Umar Gul because of an injured knee and brought in seamer Wahab Riaz for his first game of the series.
Left-arm Riaz played his last ODI against India in the Asia Cup in March 2012. South Africa also made one change from the team which lost the second match with fast bowler Rory Kleinveldt replacing Kyle Abott.
Kleinveldt took four wickets in South Africa's comprehensive 125-run win in the first match last Sunday. South Africa is wearing a unique pink uniform in support of breast cancer awareness.
South Africa: AB de Villiers (captain), Graeme Smith, Hashim Amla, Colin Ingram, Faf du Plessis, Farhaan Behardien, Ryan McLaren, Robin Peterson, Dale Steyn, Rory Kleinveldt, Lonwabo Tsotsobe.
Pakistan: Misbah-ul-Haq (captain), Mohammad Hafeez, Nasir Jamshed, Younis Khan, Shoaib Malik, Kamran Akmal, Shahid Afridi, Wahab Riaz, Saeed Ajmal, Junaid Khan, Mohammad Irfan.