Pakistan beat New Zealand by six wickets in the second ODI at Abu Dhabi on Friday to level the three match series 1-1.
On a rather docile pitch, pace bowler Shaheen Shah Afridi recorded his career best bowling figures of 4-38 which helped Pakistan restrict New Zealand to 209-9.
In reply, Imam-ul-Haq had to retire hurt after he was struck on the grille of his helmet by a ferocious bouncer from Lockie Ferguson.
However, Fakhar Zaman struck a run-a-ball 88 to see Pakistan to their target for the loss of four wickets in 40.3 overs.
Veteran batsman Ross Taylor top-scored for New Zealand with yet another sedate 120-ball 86 not out and added 75 for the fifth wicket with Henry Nicholls, who scored 33 off 63 balls.
With this victory, Pakistan broke a four-year losing streak of 12 consecutive one-day internationals against the Black Caps, which started with a 3-2 defeat in the UAE.
Undeterred by Imam's injury, Zaman added a quick 101 for the second wicket with Babar Azam who made a 50-ball 46 before both fell in the same Ferguson over.
Ferguson then had another wicket of Shoaib Malik, when the veteran batsman nailed a pull shot which deflected off Nicholls' shoulder and was eventually caught by Ish Sodhi.
Skipper Sarfraz was dismissed caught behind for 13 but Mohammad Hafeez hit the winning boundary to finish on an unbeaten 27.
Shaheen Shah Afridi was impressive yet again – dismissing the destructive opener Colin Munro in the second over of the innings.
In his next over, he got rid of Williamson as he deflected a straight drive to run out New Zealand skipper at the non-striker's end.
Shaheen then yorked Tom Latham in his next spell for one while Hafeez bowled George Worker for 28 to leave New Zealand reeling at 73-4.
Taylor, held one end intact and together with Nicholls ensured the innings did not finish under 200.
Nicholls was deceived by a slower ball from Hasan Ali as Pakistan pacer finished with figures of 2-59.
Taylor struck three boundaries and a six for his 43rd half century in one-day internationals.