Shahid Afridi's scintillating all-round display secured Pakistan a series-clinching 26-run victory against Sri Lanka in a low-scoring fourth One-day International on Sunday.
Afridi struck a defiant 75 to help Pakistan reach a modest 200 on a sluggish track at the Sharjah Cricket Stadium before they folded in 49.3 overs.
The all-rounder then returned to claim five for 35 as Pakistan shot out Sri Lanka for 174 in 45.2 overs to go 3-1 up in the five-match series.
Sri Lanka wobbled early in their chase, losing both the openers Upul Tharanga (16) and Tillakaratne Dilshan (11) to Aizaz Cheema inside eight overs.
Dinesh Chandimal's (11) exit had them reeling at 53 for three in the 13th over before Kumar Sangakkara (58) and Mahela Jayawardene (55), with more than 650 ODIs between them, put their chase back on track with a 102-run stand.
Just when they appeared to be cruising to victory, Afridi removed both the batsmen to turn the match on its head and went on to register his sixth ODI five-wicket haul to walk away with the man of the match award.
Earlier, Pakistan captain Misbah-ul-Haq decided to bat first only to see his team slump to 71 for five in the 24th over.
Change bowler Dilhara Fernando (3-26) removed Imran Farhat (10) with his first delivery while Mohammad Hafeez, whose 27 was the second highest score in Pakistan innings, could not convert the start either.
Younis Khan (18) became Fernando's second victim while Shoaib Malik (2) was foxed by a Jeevan Mendis googly, much to the disappointment of the Pakistani fans in the stadium.
Mendis unleashed another googly in his next over to remove Umar Akmal (2) leg before.
Pakistan's crisis compounded when Misbah (16) was run out in his second successive match after a mix-up with Afridi, who took the onus on himself to arrest the slide.
Afridi played with controlled aggression and hit leg-spinner Seekkuge Prasanna for a massive six, second of his three, to bring up his 32nd ODI fifty.
He was dropped in the deep on 72 but a diving Sangakkara took his second one-handed catch off Thisara Perera to cut short Afridi's 65-ball knock.
Abu Dhabi hosts the fifth and final match on Wednesday.
Mohammad Hafeez c Chandimal b Prasanna 27
Imran Farhat c Sangakkara b Fernando 10
Younus Khan c Mendis b Fernando 18
Misbah-ul-Haq run out 16
Shoaib Malik lbw b Mendis 2
Umar Akmal lbw b Mendis 2
Shahid Afridi c Sangakkara b Perera 75
Sarfraz Ahmed lbw b Prasanna 10
Saeed Ajmal lbw b Fernando 20
Umar Gul b Malinga 7
Aizaz Cheema not out 3
Extras (lb-2, w-8) 10
Total (all out; 49.3 overs) 200
Fall of wickets: 1-18, 2-57, 3-62, 4-69, 5-71, 6-97, 7-120, 8-181, 9-191
Bowling: Malinga 9.3-0-38-1, Perera 10-1-36-1, Fernando 10-3-26-3, Mendis 9-0-40-2, Prasanna 10-1-55-2, Dilshan 1-0-3-0.
Sri Lanka innings:
U. Tharanga c Khan b Cheema 16
T. Dilshan c Sarfraz b Cheema 11
K. Sangakkara b Afridi 58
D. Chandimal b Hafeez 11
M. Jayawardene c Hafeez b Afridi 55
A. Mathews c Ahmed b Ajmal 0
J. Mendis lbw b Afridi 2
T. Perera c Akmal b Afridi 7
S. Prasanna c & b Afridi 0
L. Malinga lbw b Ajmal 4
D. Fernando not out 0
Extras (lb-3, w-6, nb-1) 10
Total (All out; 45.2 overs) 174
Fall of wickets: 1-18, 2-37, 3-53, 4-155, 5-156, 6-161, 7-168, 8-168, 9-174
Bowling: Gul 6-0-19-0, Cheema 8-0-48-2, Hafeez 8-1-23-1, Malik 5-1-17-0, Ajmal 9-1-29-2, Afridi 9.2-0-35-5.