Mohammad Rizwan's stately half-century helped set the table for Pakistan to edge India with a ball to go in a thrilling five-wicket Asia Cup Super 4 victory.
Virat Kohli's tidy 60, ably supported by knocks of 28 for both KL Rahul and captain Rohit Sharma, had guided their side to 181-7 after they were put in to bat.
But their opponents edged them in a taut finale at Dubai International Stadium, with opener Rizwan forming the bedrock of their victory as they made 182-6 with only one ball left to go.
It served up sweet revenge for Saqlain Mushtaq's side, who lost by five wickets to India in their Asia Cup opener last month, with the result pushing them joint-top of the Super 4 stage with Sri Lanka.
Kohli, who scored a record-equaling fourth T20I century against Pakistan on the back of his 59 not out against them in August, will be left to rue what his side could have done.
India will next play Sri Lanka on September 6, after which Pakistan will face Afghanistan a day later on September 7.