Younus Khan smashed a superb century as Pakistan squared the one-day series against India with a four-wicket victory in Chandigarh.
India had looked assured of victory after Sachin Tendulkar top scored with 99, in the hosts' mammoth total of 321-9 from their 50 overs.
But Younus eclipsed 'The Little Master' with 117 runs in the chase and, despite falling to Zaheer Khan with the game still in the balance, his team-mates went on to complete the job.
Misbah-ul-Haq chipped in with 49, but it was Shahid Afridi's unbeaten knock of 28 from 13 balls, which proved decisive, as Pakistan made it home with just one ball to spare.
It was the ninth best run chase in one-day history and a welcome boost for Pakistan after they missed out to their arch-rivals by just five runs in the recent ICC World Twenty20 final.
Earlier in the day, Tendulkar had fallen agonisingly short of his 42nd century in One-Day Internationals, but the groundwork had already been laid for India to go on and make a huge score.
Gautam Gambhir kept up his fine form with a half-century, whilst Virender Sehwag (25), Yuvraj Singh (34) and Harbhajan Singh (38 not out) all made key contributions.
Despite three wickets for paceman Shoaib Akhtar and two apiece from Umar Gul and Sohail Tanvir, Mahendra Singh Dhoni's team looked firmly in control at the halfway stage.
The early wickets of Salman Butt (37) and Kamran Akmal (17) made Pakistan's task even more difficult.
But Younus' century stand with Misbah gave his side hope and though the number three eventually fell for 117, Afridi and Tanvir held their nerve to edge a magnificent match.
The series is now all square, so there is all still to play for in the third ODI live on Sky Sports 2 from 3.30am on Sunday.