Mohammad Rizwan hit an attacking 71 as Pakistan beat India by five wickets in a last-over Super Four thriller at the Asia Cup on Sunday.
Chasing 182 for victory, Pakistan achieved their target with one ball to spare in Dubai thanks to a key 73-run stand between Rizwan and Mohammad Nawaz (42).
Rizwan was out after his second successive half-century in the 17th over but Khushdil Shah, with his unbeaten 14, and Asif Ali, who made 16 off eight balls, made sure Pakistan got over the line against Arshdeep Singh.
Reprieved after Arshdeep dropped an easy catch at short third man, Asif hit a six and two fours before falling with two balls left, leaving Iftikhar Ahmed to knock off the remaining two runs.
Earlier, Virat Kohli's 60 guided India to 181-7 after being put in to bat first.
Pakistan started their chase cautiously and lost skipper Babar Azam for 14 with leg-spinner Ravi Bishnoi luring the batsman into a chip straight to mid-wicket.
The in-form Rizwan, who made 43 and 78 in the previous two matches, hit back with three boundaries off pace bowler Hardik Pandya and a six in the next over.
He put on 41 runs with Fakhar Zaman who played a scratchy knock of 13 before falling to Yuzvendra Chahal's leg spin.
Pakistan promoted the left-handed Nawaz, primarily a spinner, in the batting order to up the scoring and he delivered by promptly hitting a four and six.
Rizwan, who hurt himself keeping wicket after landing awkwardly on his right leg but was able to continue, anchored the innings and reached fifty in 37 balls.
Nawaz smashed five fours and two sixes in his 20-ball blitz and stood firm with Rizwan before getting out to Bhuvneshwar Kumar.
Pandya removed Rizwan as India sensed a turnaround but the left-handed Khushdil and Asif pulled off the chase as Pakistan avenged their loss to India in the group stage.
Star batsman Kohli, who hit 60 off 44 balls before being run out in the final over, helped India survive a middle-order stutter to post a competitive total.
He reached his 32nd half-century in 36 balls with a six off pace bowler Mohammad Hasnain amid chants of "Kohli, Kohli" at a packed stadium.
Leg-spinner Shadab Khan stood out with figures of 2-31 from his four overs.