India pulled off a thrilling three-wicket win over Pakistan with a ball to spare at the four-nation Asia Cup in Dambulla on Saturday.
The victory means India will now meet hosts Sri Lanka in Thursday's final.
Chasing Pakistan's 267 all out, captain Mahendra Singh Dhoni's team scraped home in the final over after Harbhajan Singh hoisted Mohammad Aamer for a mid-wicket six.
The run chase was spearheaded by opener Gautam Gambhir who constructed a watchful 83 off 97 balls to take the man of the match award.
Gambhir and Dhoni (56) shared a 98-run partnership for the third wicket.
Earlier, Pakistan won the toss and opener Salman Butt top-scored with 74 in 85 deliveries before the innings received a late boost when wicketkeeper Kamran Akmal slammed three sixes and two fours in a 41-ball 51.
On Friday, Sri Lanka crushed Bangladesh by 126 runs.
Pakistan innings
S. Butt run out 74
I. Farhat c Sehwag b Harbhajan Singh 25
S. Malik b Khan 39
U. Akmal c Dhoni b Jadeja 21
U. Amin c Kohli b Harbhajan Singh 5
S. Afridi lbw b Kumar 32
K. Akmal c Raina b Kumar 51
A. Razzaq c Dhoni b Kumar 3
M. Aamer run out 3 S. Akhtar not out 3
S. Ajmal c Nehra b Khan 0
Extras (b-1, lb-5, w-4, nb-1) 11
Total (all out; 49.3 overs) 267
Fall of wickets: 1-71 2-144 3-146 4-159 5-196 6-219 7-227 8-247 9-265 10-267
Bowling: P. Kumar 10-1-53-3 (nb-1, w-2), A. Nehra 9-0-58-0, Z. Khan 9.3-0-41-2, Harbhajan Singh 8-0-47-2, V. Sehwag 3-0-19-0, R. Jadeja 10-0-43-1 (w-2)
India innings
G Gambhir b Saeed Ajmal 83
V. Sehwag c Kamran Akmal b Abdul Razzaq 10
V. Kohli b Saeed Ajmal 18
MS Dhoni b Shoaib Malik 56
R. Sharma lbw b Shahid Afridi 22
S. Raina run out (†Kamran Akmal) 34
R. Jadeja b Saeed Ajmal 6
Harbhajan Singh not out 15
P. Kumar not out 3
Extras (lb 15, w 8, nb 1) 24
Total (7 wickets; 49.5 overs) 271
Did not bat: Z. Khan, A. Nehra
Fall of wickets 1-47 2-82 3-180 4-208 5-210 6-219 7-262
Bowling: S. Akhtar 10-0-57-0 (nb-1, w-2), M. Aamer 9.5-0-56-0 (w-3), A. Razzaq 5-0-18-1, S. Ajmal 10-0-56-3, S. Afridi 10-0-41-1 (w-1), Shoaib Malik 5-0-28-1 (w-1)