Paul Stirling's innings of 79 led Ireland to a five-wicket win over Afghanistan with seven balls to spare in the final of the ICC World Twenty20 Qualifier in Dubai today.
Stirling's knock, which included three sixes and nine fours and came off just 38 balls, helped his side to 156 for five in reply to their opponents' 152 for seven.
The Irish had already booked their place at the World Twenty20 in Sri Lanka this September, beating Namibia by nine wickets earlier today on the back of another Stirling half-century.
The match against Afghanistan was to determine which group they would play in and Kevin O'Brien and Max Sorensen both took two wickets in a strong bowling display.
Ireland's reply got off to the worst possible start when William Porterfield was bowled by a first-ball yorker from Zadran Dawlat.
But, after Ed Joyce went for 11, Stirling and Gary Wilson (32) put on 80 for the third wicket before Stirling was caught at deep square leg by Gulbodin Naib off Dawlat.
O'Brien went next ball for Ireland's second duck of the innings, but Andrew Poynter's 23 off 17 saw them home.
Earlier, after openers Karim Sadiq (16) and Javed Ahmadi (six) had been sent packing, number three Mohammad Shehzad gave Afghanistan hope of posting a competitive total with 77 off 57 balls.
O'Brien and Sorensen removed three of his partners before Naib joined him at the crease
Sorensen ended Shehzad's impressive stand in the 19th over, but Naib finished with an unbeaten 17 off eight, including two sixes.
In the day's first game, Ireland barely needed half their overs to cruise to victory over Namibia.
Ireland restricted Namibia, to whom they had lost by four runs in the group stage, to just 94 for six, and then knocked off the required runs from 61 balls with the loss of just one wicket.
Stirling carried Ireland through to the finish with 59 off 32 balls, smacking a four off the first delivery of the 11th over to win it.