Ireland's historic Test debut ended in a five-wicket defeat, but only after they had given Pakistan a major scare on the final day at Malahide.
The tourists ultimately prevailed with a degree of comfort, reaching a target of 160 thanks largely to Imam-ul-Haq's unbeaten 74 and 59 from Babar Azam.
However, Pakistan had crumbled to 14-3 in Tuesday's morning session, raising the prospect of a stunning Ireland victory after the hosts had been made to follow on.
Mohammad Abbas finished with a five-for and match figures of 9-110 as Ireland were dismissed for 339 having resumed on 319-7, the dangerous Kevin O'Brien failing to add to his overnight score of 118.
Pakistan's subsequent wobble left the match fascinatingly poised, but Imam and Babar restored order and the chase was completed before tea, allowing Pakistan to look ahead to facing England, while Ireland reflect on a promising first venture into the Test arena.
Pakistan have won by 5 wickets. We may not have got the win, but it was a fantastic effort from every one of our team on a historic occasion. They’ve done us proud.— Cricket Ireland (@Irelandcricket) May 15, 2018
Thank you @TheRealPCB for a fantastic Test match.#IREvPAK #BackingGreen pic.twitter.com/9cSBRpOKk7
O'Brien's hundred, which will go down in the history books as his country's first in this format, kept Ireland alive on day four, but he departed to the first ball he faced on Tuesday, edging Abbas to Haris Sohail at slip.
Abbas swiftly removed Boyd Rankin (6) and Tyrone Kane (14) to return second-innings figures of 5-66.
Ireland fought back superbly, though, taking three quick wickets to bring the contest to life.
Tim Murtagh had Azhar Ali (2) caught at first slip and bowled Asad Shafiq (1), either side of Sohail (7) departing to an excellent Ed Joyce catch in the gully off Rankin.
However, debutant Imam and Babar maintained their composure to combine for 38 runs before lunch and their alliance continued well into the afternoon after the latter was dropped by Andrew Balbirnie off Murtagh on nine.
Babar was eventually run out by Balbirnie and Pakistan captain Sarfraz Ahmed (8) fell lbw to Stuart Thompson, but the second Ireland rally came too late and top-scorer Imam fittingly contributed the winning runs.
22 de septiembre 2018
|Patriots WR Josh Gordon listed as questionable to face Lions|
|500th goal was crucial to my new book - Ibrahimovic|
|Roosters survive Cronk injury to hold off Souths and reach Grand Final|
|Murray announces intention to end season early|
|I want to play right-back for England - Walker|
|I would beat Bolt for speed on the pitch, claims Traore|
|Ferguson returns to Old Trafford for Manchester United v Wolves|
|Walker ´hurt´ by Pochettino claims over Tottenham exit|
|Douglas Costa has paid his fine for Sassuolo spitting incident – Allegri|
|Djokovic: Sock gave me karma back for hitting Federer|
|Anthony Joshua v Alexander Povetkin: Tale of the tape|
|Wang thrashes Putintseva to win Guangzhou title|
|There is no problem with Cavani - Tuchel silences rumours of PSG rift|
|Wilder & Fury sign contracts for December 1 bout|
|Neymar is the Kim Kardashian of football, claims Barton|
|We did not want to sell him - Perez insists Madrid got ´highest value´ for Ronaldo|
|Osaka continues run, Pliskova awaits in Tokyo final|
|Cardinals keep pace in wildcard race with win over Giants|
|Djokovic hits Federer, pair lose in doubles at Laver Cup|
|Nowitzki likely to come off bench for Mavericks in 21st season|
|Red Wings´ Green battling ´virus that attacked his liver´|
|They said I couldn´t score goals – Ibrahimovic hits back at early critics|
|Slater charged, set to miss Grand Final|
|Rose not changing approach alongside Woods|
|Woods ready to ´hang in there´ at East Lake|
|Shaqiri´s time will come at Liverpool – Klopp|
|Richarlison: I used to copy some of Neymar´s haircuts|
|Brady says Gordon is ´really eager to get in there´ despite limited practice|
|NBA changes clock-reset, ´clear path´ foul rules|
|Tigers´ Martinez will play final game on Saturday before retiring|
|Sanchez to start for Man United – Mourinho|
|Speight saves Ulster in thrilling Cheetahs draw|
|Simmonds at the double as Chiefs stay perfect|
|Woods, Rose share Tour Championship lead|
|Ice-cool Shoaib denies Afghanistan in final over|
|CAF Champions League Review: Wydad Casablanca out as TP Mazembe pay penalty|
21 de septiembre 2018
|Eden inspires rout as Castleford book Wigan semi-final|
|Thiem & Wawrinka reach St. Petersburg semi-finals|
|No change to Aguero selection despite new contract, warns Guardiola|
|Woods and Rose share Tour Championship lead|
|Wigan Athletic 1 Bristol City 0: Three on the trot for improving Latics|
|Josh Rosen will play ´when time is right,´ Cardinals GM says|
|Eagles RBs Ajayi & Sproles out Sunday v Colts|
|Ronaldo looking forward after Champions League red card - Alex Sandro|
|Rangers fire manager Jeff Banister after four seasons|
|Inter captain Icardi can improve - Spalletti|
|Jadeja and Rohit shine as India maintain 100 per cent record|
|Fisher shares lead in Vilamoura after record-breaking 59|
|Messi the best I´ve seen - Lamela|
|Silva demands end to Gomes ´rumours´ and targets early October return|
|Milner over Pogba, says Souness|
|Brazil call up Malcom, drop Thiago Silva and Willian|
|Denly thought Test chance may never come|
|Benitez tells FA to examine Zaha red card comments|
|Bjorn unsure of future after Ryder Cup|
|Tebas still optimistic over Girona-Barcelona in Miami despite RFEF setback|
|Emery promises more chances for frustrated Leno|
|Cahill considering Chelsea departure in January|
|Kaepernick to receive Harvard´s highest honour in African, African-American studies|
|Defending champion Ostapenko dumped out of Korea Open|
|Mourinho is an inspiration - Nuno|
|Witty Wilson ´delighted´ to be praised for Fisher heroics while sitting on couch|
|Burns, Denly and Stone in England squad for Sri Lanka Tests|
|Aspas reveals interest from Real Madrid, Atletico|
|Arsenal´s Mkhitaryan a doubt for Everton match|
|Klopp demands Liverpool ´stay angry´ against Southampton|
|Long-serving Tabarez signs four-year Uruguay extension|
|Injured Mendy ruled out of Cardiff trip|
|Douglas Costa out up to a month with ankle & thigh injuries|
|Slater shrugs off Feki hit amid Grand Final suspension concerns|