Ireland's men produced a superb first day's play in the one-off Test against Afghanistan as they bowled their opponents out for 155 by tea, however a brace of late wickets gave the Afghans hope going into day two in Abu Dhabi.
Mark Adair was the star with the ball, returning career-best figures of 5-39 and becoming the third player in Ireland men's Test history to claim five-wickets in an innings.
By the close, Ireland had made 100-4 with the bat themselves, ending day one with just a 55-run deficit to Afghanistan, and with six first-innings wickets in hand.
Ireland are looking for their first win in the five-day format since being promoted to Test status in 2018. They have lost seven Tests since then, including to Afghanistan in 2019.
The Test will be followed by three ODIs and three T20 matches in the United Arab Emirates capital.
At the start of play, Ireland - who handed debuts to Barry McCarthy, Theo van Woerkom and Craig Young - were put in the field by Afghanistan at the toss, but any concerns over skipper Andrew Balbirnie calling the coin toss wrong were soon put to bed.
It took just 6.3 overs for Ireland to make a breakthrough with the new ball, Adair removing Noor Ali Zadran for seven. He then struck for a second time three balls later, bowling Rahmat Shah for a duck.
The Northern Knights all-rounder had the ball moving both ways and maintained a patient line just outside off stump – showing all the skills in red-ball cricket that he routinely displays in white-ball formats.
Afghanistan rallied with a 55-run stand between captain Hashmatullah Shahidi (20) and opening batter Ibrahim Zadran (53) but McCarthy removed Shahidi before lunch to claim his first Test scalp, ensuring Ireland were firmly on top at the break with their hosts reduced to 86-3.
Ireland pressed on in the afternoon session, with Adair soon dismissing Rahmanullah Gurbaz (5) before Young removed Nasir Jamal (0) and Zadran in quick succession.
Despite making his Test debut on debut, Young has had an international career stretching back 10 years and this experience showed as he delivered a consistent line and length that worried the Afghan batters.
When Adair snared his fourth, Zia-ur-Rehman (6) caught by Balbirnie, Curtis Campher was introduced to the bowling crease and quickly took the wickets of Naveen Zadran (12) and Nijat Masood (0).
Adair fittingly wrapped up the innings, and his five-for, by bowling Zahir Khan for the fourth duck of the innings as Ireland bowled-out Afghanistan for 155 in only 54.5 overs.
Ireland innings started poorly - losing captain Balbirnie (2) and fellow opener PJ Moor (12), but Campher (49) and Harry Tector put on 60 for the third wicket to calm any nerves in the Irish dressing-room.
Despite losing Campher and nightwatcher van Woerkom (1) late on, Ireland will start Thursday in a relatively strong position when Tector will resume on 32 alongside Paul Stirling (two not out).
Day 1
Afghanistan 155 (54.5 overs; I Zadran 54; M Adair 5-39, C Campher 2-13, C Young 2-31)
Ireland 100-4 (31 overs; C Campher 49, H Tector 32*)