Ireland's inaugural men's Test got off to a dramatic start on Saturday when Pakistan debutant Imam-ul-Haq was injured on the first ball.
Ul-Haq, nephew of legendary Pakistan captain Inzamam, did not appear to suffer too many after-effects although it did take him 16 balls to get off the mark before he drove Murtagh stylishly for four through the off side.
Former England one-day worldwide Joyce, arguably Ireland's greatest batsman, appeared to be a first-innings victim of the fact the Decision Review System was not being used in this Test because Cricket Ireland decided they could not afford the $50,000 cost. "When they both went in we were not in a very good position but the way they both batted they really put us in the driving seat in this Test match".
Pakistan opener Azhar Ali attempted to scoot through for a quick single and Imam-ul-Haq, the nephew of former global batsman Inzamam, collided with Niall O'Brien, forcing a delay while he was attended to.
The 22-year-old was left flat on the ground and needed several minutes' treatment on the field, but he recovered to face the second ball of the match, with Imam playing and missing.
Gove expresses doubts about Brexit customs plan
The central role for Mr Davis reflects fears in government that he could quit if the customs partnership idea is pushed through. But some senior figures, including Mr Clark, have continued to push it.
Mohammad Abbas took 4-44 as Ireland were bowled out for 130.
Rankin, the former England global and only Irish player with test experience, had the honour of Ireland's first test wicket when Azhar Ali (4) edged him to second slip in the eighth over.
After Pakistan had lost their openers in consecutive deliveries in the opening session, Asad Shafiq and Haris Sohail had stabilized the innings with some slow progress.
"It looked like Pakistan maybe had the ball reversing slightly towards the end".
Leg-spinner Shadab Khan continued his fine all-round display by taking two wickets in three balls to leave Ireland 61-7. Batting on 60, Shafiq hit a Rankin short-ball straight into the hands of square-leg as Pakistan went from 71-2 to 159-6.
Joyce, out for four in the first innings, was on nought when he edged Amir low to the left of wicket-keeper Sarfraz Ahmed, with the diving Pakistan captain unable to cling on to the chance. Abbas returned to claim his fourth and Shadab finished off the innings but Wilson's unbeaten 33 was symbolic of Irish resolve - a foundation which Joyce and Porterfield built on doughtily during the evening sunshine.