Paceman James Anderson took four wickets to author England's narrow six-run win over Pakistan in the fifth and final match here on Wednesday, but the hosts clinched the five-match series 3-2.
England, who won the first match, managed 206-9 in their allotted 50 overs and then restricted Pakistan to 200-9 in their 50 overs.
England, who came here on the back of their Ashes win over Australia, earlier lost the three-Test series 2-0, and lost three one-day matches before ending the tour with a win against a reshuffled Pakistan. Besides Anderson, left-arm spinner Ian Blackwell took three wickets.
Chasing a modest target, Pakistan lost openers Salman Butt (six) and Kamran Akmal (11) by the seventh over, but recalled Yasir Hameed (57) and Mohammad Yousuf (54) put Pakistan back on track.
The Hameed-Yousuf stand yielded 101 and brought Pakistan within 85 runs of victory before England hit back by claiming eight wickets in the space of 78 runs.
Veteran Shaun Udal provided the tourists with the breakthrough, enticing Hameed to step out and had him stumped by wicketkeeper Geraint Jones and that opened the gates.
Blackwell then accounted for stand-in captain Younis Khan (15), Yousuf and Shoaib Malik (eight) in the space of 12 balls to derail Pakistan to 170-7.
Anderson further hit the home team by dismissing Shahid Afridi and Abdul Razzaq (four each) and Rana Naved-ul-Hasan (13) before Pakistan failed to score 11 in the last over.
Trescothick said that Yousuf's wicket was the turning point.
"We were 20-30 runs short but bowled well in the last few overs to achieve this win," the England captain said.
"It is pretty nice to end the tour with a win. We will think of the Indian tour after Christmas," said Trescothick, whose side was to return home early yesterday and tour India in February next year.
Younis said Pakistan failed to benefit from bowling the tourists out for a low score.
"We did pack them for a manageable score, but lost track by playing some poor shots but such things happen in one-day cricket," Younis said.