Dehradun: Spinner Rashid Khan's five-wicket haul helped Afghanistan bowl out Ireland for 288 and put the team in sight of a maiden Test win on the third day of the one-off Test on Sunday.
Chasing 147 for victory, Afghanistan were 29 for one with Ihsanullah Janat batting on 16 and Rahmat Shah unbeaten on 11 at the close of play.
Afghanistan lost one wicket in the form of Mohammad Shahzad, but Janat and Shah, who made 98 in Afghanistan's first innings total of 314, ensured there was no more damage when the stumps were drawn.
Earlier in the day, Andy Balbirnie (82) and Kevin O'Brien (56) scored half-centuries each but Khan came up with career-best figures of five for 82 to bundle out Ireland in the final session of play.
Khan accounted for the wickets of James McCollum, O'Brien, Stuart Thompson, George Dockrell and Andrew McBrine to put Afghanistan in a commanding position.