Pakistan claimed a series-clinching four-wicket victory over West Indies with just one ball remaining in the fifth one-day international in St Lucia.
Chasing a target of 243 for victory and having seen their run-chase disrupted by a rain delay with 14 balls to go, Pakistan crept over the line.
The tourists needed two runs from the final over, which became a tense affair after Jason Holder bowled captain Misbah-ul-Haq for 63.
Tailender Saeed Ajmal scored the winning run at the third attempt as Pakistan sealed a 3-1 triumph in the five-match rubber.
Ahmed Shehzad struck 64 and, along with Misbah, was the mainstay of the Pakistan innings.
Umar Akmal also chipped in with 37, but two late strikes by Tino Best and fellow paceman Holder threatened to derail what had, at one stage, looked to be a formality.
West Indies’ total of 242 for seven appeared set to be much less before captain Dwayne Bravo struck a brisk 48.
The all-rounder led a late recovery as the hosts battled to set a competitive target after a stuttering innings in which Junaid Khan was the pick of the Pakistan attack with 3-48.
Bravo, who made his way out to the crease when West Indies were 170 for six in the 45th over, belligerently compiled his total from 27 balls.
He struck five fours and three sixes in his short stay before being caught by Haris Sohail off the bowling of Ajmal.