Fifth one-day international, Rawalpindi: England 206-9 (50 overs) beat Pakistan 200-9 (50 overs) by six runs
England ended their tour on a high with a six-run win in Rawalpindi following a mid-innings collapse by Pakistan.
James Anderson took 4-48 and Ian Blackwell three wickets in successive overs as Pakistan lost five wickets for 25 runs and were restricted to 200-9.
Yasir Hameed (57) and Mohammad Yousuf (54) put on 101 but fell to loose shots, and the rest followed suit.
Vikram Solanki top scored with 49 in England's 206-9 - debutant Mohammad Asif taking 2-14 for the home side.
On a slow pitch that made batsmen work for every run, Andrew Flintoff (39) and Solanki (49) shared a stand of 65 for the fourth wicket and Paul Collingwood made 33 as the innings drew to a close.
With Flintoff unable to bowl because of a sore ankle, things looked even tougher for the tourists.
Liam Plunkett was punished for erring too short early on, his first three overs costing 21.
But the Durham youngster, who hit 24 from 12 balls late in England's innings, bowled a brilliant final over, allowing just four runs with 11 needed.
Anderson and Steve Harmison, back from a bout of flu, dismissed Pakistan's openers early.
But Yousuf and Hameed were cruising at 122-2 in the 32nd over before the spectacular tumble.
Hameed was stumped by Geraint Jones after slashing wildly outside off stump, presenting spinner Shaun Udal with his first one-day international wicket since January 1995.
Younis Khan, stand-in captain with Inzamam-ul-Haq nursing a groin injury, lost his patience on 15 and cut a wide delivery from Blackwell to cover.
Yousuf, Shoaib Malik and Abdul Razzaq were all caught in the deep, despite the glaring distraction of the floodlights.
The crowd had clearly had enough at 170-7 when their hero Shahid Afridi was bowled through the gate with a little reverse swing from man of the match Anderson.
Mohammad Asif starred on debut with two wickets
After being asked to bowl first, Pakistan could not only celebrate a good start but also an impressive debut from Asif, who took 2-14 in seven overs.
Asif moved into the line-up with pacemen Shoaib Akhtar and Mohammad Sami both rested.
Despite losing openers Marcus Trescothick and Matt Prior to the young fast bowler, the tourists rebuilt their innings three times, only to lose a crucial wicket each time.
Andrew Strauss was stumped for 27 after a 57-ball build-up, in spinner Arshad's second over.
Solanki's 18-over partnership with Flintoff was brought to an end when the Worcestershire batsman, one short of a fifty, lofted Afridi to cover.
Flintoff had only just found his feet when Rana produced some reverse swing to expose his attempted slog.
Plunkett enjoyed a cameo role with two fours and a six off the last three deliveries from Razzaq.
And he made another vital contribution at the end of the match with his final over to last-wicket pair Danish Kaneria and Arshad Khan which was filled with low full tosses and allowed just four singles to be taken when nothing less than boundaries would do.