Sohaib Maqsood was the unlikely hero as Pakistan snatched a thrilling four-wicket win over Sri Lanka with a ball to spare in their rain-affected one-day international series opener at Hambantota.
The Pakistan number seven hit a career-best unbeaten 89, in his 15th ODI, to narrowly edge Pakistan past Sri Lanka’s 275 for seven.
Maqsood hit nine fours in his 73-ball innings and with Fawad Alam, who made 62, they combined in a crucial 147-run stand for the sixth wicket.
Mahela Jayawardene and Angelo Mathews hit half centuries of their own in a losing cause as Pakistan took a 1-0 lead in the three-match series. The second ODI takes place in Hambantota on Tuesday.
Pakistan put the hosts into bat after winning the toss and were soon celebrating the dismissal of Tillakaratne Dilshan, who was pinned lbw by Mohammad Irfan having made just six runs.
Upul Tharanga and Kumar Sangakkara took the Sri Lanka score past 50 before Tharanga edged behind off Wahab Riaz and Sangakkara guided a Mohammad Hafeez delivery to point five balls later.
Dinesh Chandimal then mis-hooked an Irfan delivery to leave Sri Lanka 75 for four before Jayawardene and skipper Mathews set about repairing the hosts' stuttering innings.
They compiled 116 runs in 20.1 overs for the fifth wicket, with both batsmen dispatching the Pakistan bowlers to the ropes at regular intervals as they ensured Sri Lanka posted a competitive total after their ordinary start.
The pair had advanced Sri Lanka to 191 when Jayawardene was run out by wicketkeeper Umar Akmal while attempting a single.
Mathews was bowled trying to hit Wahab, who took 3-50, across the line after Thisara Perera had fallen in the same manner but number eight batsman Ashan Priyanjan picked up where his captain left off, clubbing eight fours in a remarkable 15-ball knock of 39, as Sri Lanka set Pakistan 276 to win.
Despite opener Ahmed Shehzad's solid 49 from 61 balls, Pakistan found runs hard to come by early on and Hafeez and Younis Khan fell to Mathews, while Perera accounted for Shehzad and Umar.
The match was in the balance at the halfway stage as Pakistan limped to 106 for five. Misbah-ul-Haq's dismissal, caught behind off Rangana Herath, united Fawad and Maqsood at the crease and their sixth-wicket stand of 147 in 19.3 overs saw the visitors to the brink of victory.
Maqsood clubbed the fifth ball he faced, from Mathews, to the ropes and he was given a reprieve while on 32 as Sangakkara missed a stumping chance.
Maqsood made the let-off count and brought his fifty up by dispatching a Lasith Malinga full-toss to the boundary.
Fawad joined his partner in raising his bat in the 41st over before he edged a Malinga delivery to third man.
Shahid Afridi held his nerve after replacing Fawad in the middle and when he hit Nuwan Kulasekara to the boundary off the penultimate ball of the match, victory was Pakistan's.