Joe Root guided England through an early scare at Edgbaston as they completed a 3-0 Test series whitewash over Pakistan with an eight-wicket victory.
England needed only 130 to win the third Test but lost Ben Duckett to the first ball before Emilio Gay also departed in Mohammad Abbas' opening over.
Root responded in typically composed fashion, finishing unbeaten on 62 as England secured their first Test series victory in 19 months. Jordan Cox provided excellent support with an unbeaten 59, with the hosts reaching their target in the 25th over.
Joe Root survives before taking control
There were still moments of danger for England. Root was bowled by Mohammad Ali for 23, only for the delivery to be ruled a no-ball. It was Ali's 17th no-ball of the series.
Pakistan were presented with another opportunity when Root edged Abbas behind square on 38, but the ball passed between first and second slip after both fielders appeared to leave it for each other.
Root made them pay. His 62 not out was his 110th Test innings of 50 or more, a remarkable tally that includes 41 centuries.
Cox's unbeaten 59 then ensured there was no further drama as England completed a victory that had looked less straightforward after their disastrous start to the chase.
"Fair play to Pakistan, they threw some punches last night. They made it very difficult for us and in some ways it's a good thing to go through that," Root said.
"Test cricket is not always going to go your own way but to see us actually be quite clinical with the bat off the back of that was good too. So in many ways we're better for it."
England emerge with renewed confidence
Pakistan's late fightback ensured England had to work for the victory, but it could not disguise the gulf between the sides across the three Tests.
England had taken a first-innings lead of 320 runs in Birmingham, with Pakistan only managing to extend the contest into a fourth day after Razaullah's extraordinary 81 from 63 balls lit up Friday evening.
The result gives England their first series win since their previous victory 19 months ago, providing a significant boost as they attempt to rebuild following the Ashes defeat and subsequent loss to New Zealand.

Root's return to the captaincy following Ben Stokes' retirement has also ended in highly satisfying fashion.
"Of course there's things we will want to improve on but we came into this series with a lot of question marks and a lot of noise around the team and we've walked away 3-0 winners so in that respect I'm quite pleased," Root said.
Marcus Trescothick, who took over as interim red-ball head coach after Brendon McCullum's departure, will now hand the side over to Stephen Fleming ahead of a three-Test tour of South Africa spanning December and January.
Pace attack gives England a platform
England's biggest strength during the series was their pace bowling, led by Ollie Robinson, who finished as player of the series with 21 wickets.
Jofra Archer, Josh Tongue and Gus Atkinson also formed part of an attack that proved too strong for Pakistan on surfaces that offered assistance to the seamers.
Robinson knows the challenge will become greater against South Africa.
"I'm a realist, I know it's not always going to be like this," he said. "We know there's going to be tougher times ahead. We have some tough opposition coming up and we're looking forward to the challenge."
England's batting remains less settled. No England batter made a century in the series, while Jacob Bethell is expected to return for the winter after knee surgery.
That could leave one of Gay, Dan Lawrence or Cox fighting for a place. Cox strengthened his case with his unbeaten second-innings contribution after also keeping wicket in the second innings when Jamie Smith suffered a finger injury.
21 wickets ☝️
Average 8.76 🤯
Economy 2.04 🧮
Player of the series 🏆
What a performance 👏

Pakistan left searching for answers
Pakistan's defeat extended a miserable run, with the side now having lost 16 of their last 21 Tests.
The tour has been chaotic, with seven players replaced in the squad after the second Test and coach Sarfaraz Ahmed and his assistant Umar Gul dismissed.
There was at least a glimpse of encouragement in Birmingham, with Razaullah's aggressive innings and Pakistan's late resistance offering hope ahead of their next assignment against Sri Lanka in October.
"We had a couple of good moments. I think we have bowled well but I think this was a good opportunity for youngsters to play against quality bowlers, quality opponent, so they learned a lot and I think this is helpful for the future," Pakistan captain Babar Azam said.
For England, the whitewash provides something Pakistan could not: a clear sign that their rebuilding process is beginning to produce results.
