Dublin, Ireland: Ed Joyce and William Porterfield restored a measure of batting pride in Ireland's inaugural Test with an unbroken opening partnership after the hosts were made to follow-on by Pakistan at Malahide on Sunday.
But come the third day's close, Ireland remained in trouble at 64 without loss in their second innings -- still 116 runs adrift of Pakistan's 310 for nine declared after a meagre 130 all out first time around.
But with Mick Jagger, a lifelong cricket fan, among the crowd -- the Rolling Stones play a concert at Dublin's Croke Park on Thursday -- the openers gave Ireland some satisfaction in a day dominated by Pakistan.
Joyce was 39 not out and Ireland captain Porterfield unbeaten on 23 at the close after they were both dropped off Mohammad Amir.
Joyce was on nought when he edged Amir to wicket-keeper Sarfraz Ahmed, with the diving Pakistan captain unable to cling on to the low chance.
And Porterfield had made just three when Azhar Ali fumbled a routine catch at third slip.
Amir left the field after sending 3.2 overs in Ireland's second innings with a recurrence of a knee problem.
"We're (less than) 120 behind, we know we're going to have to bat really well but I think the two lads showed at the end there that it's definitely possible," said Ireland's Gary Wilson, who earlier made a gutsy 33 despite a possible fractured elbow suffered battting in the nets.
"We can take a huge amount of confidence," he added. "Whenever you're asked to follow on and you can go 60 for none at the close, that shows big balls."
Former England one-day international Joyce, at 39 the oldest Test debutant since Australia's Bryce McGain made his bow aged 36 in 2009, cashed in with some elegant shots including a cover-driven four off Mohammad Abbas.
The paceman took four wickets for 44 runs as Ireland's first innings was wrapped up inside 48 overs.
Abbas struck twice in a 30-minute spell before lunch to leave Ireland five for three after Sarfraz's well-timed declaration.
Ireland were in danger of marking their debut with the lowest completed innings total by any side in Test cricket's 141-year history -- New Zealand's 26 against England at Auckland in 1955.