After a shock defeat two days ago, Pakistan got their series in Zimbabwe back on track with a 90-run win over their hosts in Harare.
Having won the toss, Zimbabwe were unable to keep the Pakistan total down. The tourists eventually compiled 299-4 in their 50 overs, led most impressively by Mohammad Hafeez, who hit an unbeaten 136.
Zimbabwe made a decent fist of the chase, finding themselves in with a shot of victory at 200-4. However, an almighty collapse followed, and the match slipped away.
The decider takes place on Saturday, before the sides clash in two Test matches.
Will Pakistan now wrap up the ODI series victory?
Mohammad Hafeez was the story of the innings, his skilful 136 dominating Pakistan's total.
Ahmed Shehzad (five) fell early to bring Hafeez to the middle, and he played steadily to start, reaching 49 from 64 balls by the halfway point of the innings.
He found a valuable partner in Umar Amin (59), and accelerated toward the end of his knock, with five sixes beefing up his score.
A hallmark of Zimbabwe's performances this summer has been their patient and solid opening stands, but although on this occasion they lost Vusi Sibanda for just two, they did not panic.
Two of the stars of the first ODI, Hamilton Masakadza (24) and Brendan Taylor (79) rebuilt the innings, with Sean Williams (37) and Malcolm Waller (40) taking it on when those two departed.
However, Junaid Khan's inspired spell—he took out four men, giving up just 15 runs in seven overs—sparked panic, and in dramatic fashion the chase was over.
Here is the scorecard, as given by the BBC:
Pakistan Innings 299 for 4 (50.0 overs)
|Shehzad||c Maruma||b Vitori||5||18||9||1||0|
|Misbah-ul-Haq||c Williams||b Vitori||3||31||23||0||0|
|Amin||run out (Chatara)||59||92||71||5||1|
|Shahid Afridi||not out||39||33||23||1||3|
|Extras||2nb 20w 0b 3lb||25|
|Total||for 4||299||(50.0 ovs)|
|Fall of Wicket|
Zimbabwe Innings 209 all out (42.4 overs)
|H Masakadza||b Junaid Khan||24||36||28||5||0|
|Sibanda||c Sarfraz Ahmed||b Irfan||2||10||6||0||0|
|Taylor||c Irfan||b Ajmal||79||151||95||6||1|
|Maruma||run out (Misbah-ul-Haq)||8||28||27||0||0|
|Williams||st Sarfraz Ahmed||b Ajmal||37||40||38||4||0|
|Waller||b Junaid Khan||40||53||42||6||0|
|Chigumbura||lbw||b Junaid Khan||0||2||1||0||0|
|Utseya||b Junaid Khan||3||11||5||0||0|
|Chatara||c Sarfraz Ahmed||b Rehman||2||3||4||0||0|
|Vitori||c Irfan||b Rehman||0||1||0||0|
|Extras||1nb 4w 0b 6lb||11|
|Total||all out||209||(42.4 ovs)|
|Fall of Wicket|