Dublin – Pakistan debutant Imam-ul-Haq saw his side to victory as Ireland‘s first match in men‘s Test cricket ended in a gallant last-day defeat by five wickets at Malahide on Tuesday.
Together with Babar Azam, who made 59 after being dropped on nine, he kept Ireland at bay during a fourth-wicket stand of 126.
Just four balls into their chase, Pakistan saw Azhar Ali edge Tim Murtagh to Paul Stirling at first slip.
He struck two fine fours off Stuart Thompson, a square cut followed by a square drive.
Babar, cashed in to make a 61-ball fifty.
Earlier, Ireland were dismissed for 339 in their second innings.
Ireland were facing an innings defeat when man-of-the-match O‘Brien came in at 95 for four but, ably assisted by Stuart Thompson, who made 53, he turned the tide during a seventh-wicket partnership of 114.
Pakistan 1st Inns: 310-9 dec (Faheem Ashraf 83, Asad Shafiq 62, Shadab Khan 55; T Murtagh 4-45, S Thompson 3-62)
Pakistan 2nd Inns: 160-5 (Imam-ul-Haq 74 no, Babar Azam 59)