AP, Dublin :
Ireland was threatening to pull off a major upset in its inaugural test after reducing Pakistan to 52-3 at lunch as the tourists chased a victory target of 160 on the final day on Tuesday.
The Irish added only 20 runs to their overnight 319-7 but responded by taking three wickets in the opening 27 balls of the chase, leaving Pakistan rocking at 14-3.
Imam-ul-Haq steadied the innings and was on 33 not out at the end of the first session. Babar Azam was with him on 9.
Only three teams have won a test after following on – England in 1894 and 1981, and India in 2001. Australia was the opponent on each occasion.