[caption id="attachment_712438" align="aligncenter" width="628"]<a href="https://www.cricketcountry.com/wp-content/uploads/2018/05/Tom-Murtagh-picked-up-2-for-27-Getty-images.jpg"><img class="size-full wp-image-712438" alt="Tim Murtagh, Ireland, Pakistan, Test match" src="https://www.cricketcountry.com/wp-content/uploads/2018/05/Tom-Murtagh-picked-up-2-for-27-Getty-images.jpg" width="628" height="355" /></a> <a href="https://www.cricketcountry.com/teams/pakistan/">Tim Murtagh picked up 2 for 27 Getty Images</a>[/caption] <p></p> <p></p><a href="https://www.cricketcountry.com/teams/pakistan/">Pakistan </a>were 52 for three, needing a further 108 runs to reach their victory target of 160, at lunch on the fifth day of their one-off Test against<a href="https://www.cricketcountry.com/teams/ireland/"> Ireland</a> at Malahide on Tuesday. Pakistan debutant Imam-ul-Haq was doing his best to deny Ireland victory in their maiden Test as a dramatic match at Malahide headed towards a thrilling conclusion on Tuesday. Pakistan collapsed to 14 for three in pursuit of a seemingly modest victory target of 160 on the fifth and final day in a match where they had made Ireland follow on. <p></p> <p></p>But at lunch Pakistan were 52 for three, still needing a further 108 runs to win, with left-handed opener Imam -- the nephew of selection chief and former Pakistan batsman Inzamam-ul-Haq -- 33 not out and Babar Azam nine not out. <p></p> <p></p>Just four balls into their chase, Pakistan saw experienced opener Azhar Ali edge Tim Murtagh to Paul Stirling at first slip. <p></p> <p></p>Haris Sohail (seven) fell next, well taken in the gully by Ed Joyce off towering fast bowler Boyd Rankin as Ireland's two former England internationals combined. <p></p> <p></p>The umpires checked for a no-ball but Rankin had bowled a legal delivery, albeit only just. <p></p> <p></p>And 13 for two became 14 for three in 4.3 overs when Middlesex paceman Murtagh produced a superb delivery to bowl Asad Shafiq between bat and pad for one. <p></p> <p></p>But the 22-year-old Imam, who bats in spectacles, showed a maturity beyond many of his more experienced top-order colleagues. <p></p> <p></p>He struck two fine fours off Stuart Thompson, a square cut followed by a square drive. <p></p> <p></p>Murtagh took two for 27 in an unchanged nine-over spell. <p></p> <p></p>Earlier, Ireland were dismissed for 339 in their second innings. <p></p> <p></p>Kevin O'Brien, who on Monday became the first Ireland batsman to score a Test hundred, fell to his first ball Tuesday as Mohammad Abbas had him caught by Haris at slip for 118. <p></p> <p></p>Ireland had been in danger of an innings defeat at 95 for four but a seventh-wicket partnership of 114 between O'Brien and Thompson (53) turned the tide. <p></p> <p></p>The Irish, resuming on 319 for seven, lost their last three wickets for 20 runs on Tuesday. Abbas did all the damage in a burst of three wickets for 12 runs in 22 balls, the paceman finishing with innings figures of five for 66 in 28.3 overs. <p></p> <p></p>Only three sides in the 141-year history of Test cricket have won after being made to follow on and only one men's team -- Australia in the inaugural Test against England at Melbourne in 1877 -- have enjoyed a victory in their debut match at this level. <p></p> <p></p>Ireland were facing an innings defeat when O'Brien came in at 95 for four but, ably assisted by Thompson, who made 53, he turned the tide during a seventh-wicket partnership of 114. <p></p> <p></p>Mohammad Amir, who had been struggling with a longstanding knee injury while taking his 100th Test wicket on Monday, opened the bowling on Tuesday. But after Tyrone Kane had seen out the opening over, O'Brien fell to his first ball of the day when, going down on on to attempt a slashing drive off a wide half-volley from Abbas, he was held by Haris. <p></p> <p></p>A crestfallen O'Brien bowed his head in frustration and dropped his bat as he trudged off the field. But the 34-year-old had every reason to be proud of an innings that spanned five hours, 44 minutes and saw him face 217 balls with 12 fours. Abbas had Rankin, trying to leave, playing on before bowling Kane to end the innings. <p></p> <p></p><strong>Brief scores</strong> <p></p> <p></p>Pakistan 310 for 9 dec and 52/3 (Imam-ul Haq 33*; Tim Murtagh 2 for 27, Boyd Rankin 1 for 16) trail Ireland 130 all out &amp; 339 allout (Ed Joyce 43, Kevin O Brien 118*, Stuart Thompson 53) by 108 runs.