West Indies put up a valiant fight on the final day of Asia's first day-night Test, but ultimately came up 56 runs short against Pakistan.
Darren Bravo's gritty 116 threatened to spark a remarkable turnaround in Dubai, where Pakistan had looked set for a comfortable victory after declaring on 579-3 and reducing their opponents to 357 all out in the first innings.
A fightback that started with the ball - Pakistan were dismissed for 123 in their second innings - continued with the bat, but Bravo did not have the required support and when he fell at the end of the 95th over, West Indies' hopes went with him.
Having resumed on 95-2, the Windies suffered an immediate blow as Marlon Samuels (4) was claimed by the first ball of the day, edging behind to Mohammad Amir (3-63) as he paid the price for a tentative stroke.
Jermaine Blackwood and Bravo dug in, but the former was on his way for only 15 when he missed a flat delivery from Mohammad Nawaz (2-32) and was given out leg before after Misbah-ul-Haq called for a review to leave the tourists 116-4.
As Bravo and Roston Chase chipped away at the deficit things appeared more promising for the Windies, until the latter was accounted for by Yasir Shah for 35 and Shane Dowrich (0) followed in the next over.
But the tourists reached dinner on 232-6, with Bravo on 102 and his side needing 114 more for an unlikely victory as the nominal hosts looked to the new ball for inspiration.
When Bravo fell to a superb caught-and-bowled take from Yasir, the Windies' aspirations took a huge hit and Pakistan sensed victory, with Devendra Bishoo (3) next to go.
Miguel Cummins fared even worse, adding only one to the total before being run out, leaving Jason Holder (40 not out) and Shannon Gabriel to dig in.
Gabriel's focus was simply to survive the onslaught as Pakistan targeted the number 11, while Holder picked his moments, sweeping a well-judged four down to the boundary.
Just two deliveries later, though, and the contest was over as Gabriel was run out when the pair tried to complete a quick single to keep Holder on strike for the next over.
Pakistan's celebrations in winning the first meeting of the three-match series smacked as much of relief as joy, while the Windies were left to reflect on a fruitless effort as the outcome was decided with 12 overs remaining.