Pakistan tied the Twenty20 series with England at 2-2 after defeating them by three runs in a gripping game in Karachi.
Liam Dawson helped England secure the win in the 167-run chase by scoring 24 runs in the 18th, which left the visitors needing nine runs from 12 balls.
But an exciting game turned in favor of Pakistan in the next over when Haris Rauf got two wickets in two deliveries, putting England at a deficit of nine with four runs still needed.
The home team’s victory was subsequently secured when number 11 Reece Topley was run out in the last over, setting off scenes of celebration among the spectators.
Mohammad Rizwan had earlier led Pakistan to a total of 166-4 with his 88 off 67 balls.
Pakistan hit only three sixes in their whole innings because of a disciplined England bowling effort, two of which came from Asif Ali in the crucial last over.
After two overs, England’s reply had a bad start and was down to 14-3.
Ben Duckett scored 33 from 24, and Harry Brook scored 34 from 29 as England made a comeback, but wickets often fell to them.
Dawson’s heroics in the dying moments came close to bringing them across the finish line, but he seemed heartbroken as Pakistan struck back to dismiss England for 163 and secure an anxious victory.
The fifth T20 of the seven-match series will take place on Wednesday in Lahore.