Umar Akmal and Umar Gul led a superb fightback as Pakistan snatched a two-wicket victory against South Africa in a thrilling opening Group 2 match of the World Twenty20 Super Eights.
Despite chasing a modest 134 for victory, Pakistan looked destined for defeat as they slumped to 76 for seven in the 15th over, needing 58 runs off the final 30 balls.
However, Akmal and Gul joined forces to turn the game on its head in an eighth-wicket partnership worth 49 in just 4.3 overs.
Man of the match Gul, who also picked up a wicket, provided much of the momentum as he smashed three sixes and two fours in a 17-ball 32 before falling to the final ball of the penultimate over.
That left Pakistan needing nine off the last over and Akmal clubbed a Morne Morkel full toss for six off the second ball before Saeed Ajmal sealed the victory with a guided four off the fourth.
Akmal finished unbeaten on 43 off 41 deliveries, having also struck four other boundaries to go with that maximum.
Dale Steyn was the pick of the South African attack, finishing with three for 22.
South Africa were earlier limited to 133 for six after suffering a poor start in Colombo.
They lost Hashim Amla (six), Richard Levi (eight) and Jacques Kallis (12) as they struggled to 28 for three after six overs, before JP Duminy and AB de Villiers led a recovery.
Duminy put on 38 for the fourth wicket with Farhaan Behardien (18) before adding 44 with captain De Villiers to help South Africa into three figures before both fell in the closing overs.