Ireland fell short of a historic giant-killing after going down to a two-wicket defeat to Pakistan in the second RSA Insurance one-day international in Dublin.
The hosts looked on course to record victory against a full-member nation until eighth-wicket pair Kamran Akmal (81) and Wahab Riaz (47 not out) smashed 93 in 62 balls to come through.
Ed Joyce helped Ireland to 229-9 with his first century for his country before Pakistan folded to 17-4 in reply on a seaming wicket.
Imran Farhat and Nasir Jamshed both went before Mohammad Hafeez, a centurion on Thursday, feathered through to wicketkeeper Gary Wilson and then Asad Shafiq went.
Misbah-ul-Haq and Shoaib Malik began to look more assured in a 43-run stand before the skipper offered back a catch to Alex Cusack to depart for 24.
George Dockrell then got the crucial wicket of Malik, after he had reached 43, to an lbw decision the Pakistani appeared unhappy with.
However, Kamran, who spent two seasons in Irish club cricket a decade ago, and Wahab launched their counter-attack.
Pakistan required 81 from nine overs when Kamran brought up his half-century and when Wahab took 24 from Tim Murtagh's final over the tourists needed just eight from 18 balls.
Kamran skied a catch to depart for 81 from 84 balls and it was left to Junaid Khan to hit the winning runs with eight balls to spare.
It meant Ireland, who had been left deflated by the dramatic tie in Thursday's series opener, were left waiting for a first success over an elite nation in the Republic.
None of the Pakistan top four managed double figures to put Joyce's century, his second in ODIs after he hit 107 for England against Australia six years ago, into perspective.