ICC World Twenty20 Qualifier final, Dubai:
Ireland 156-5 (18.5 overs) beat Afghanistan 152-7 (20 overs) by five wickets
Ireland beat Afghanistan by five wickets to win the World Twenty20 qualifying event and avoid England at the tournament proper in Sri Lanka.
With the Irish chasing 153 to win, Paul Stirling hit the second-fastest half-century in Twenty20 international history, from only 17 deliveries.
His 79 helped Ireland home with seven balls to spare in Dubai.
They join Australia and West Indies in Group B, with Afghanistan, India and defending champions England in Group A.
Ireland had beaten Namibia earlier in the day
in the preliminary final to book their trip to Sri Lanka in September.
FASTEST T20 INTERNATIONAL FIFTIES
- Yuvraj Singh, 12 balls, Ind v Eng (2007)
- Paul Stirling, 17 balls, Ire v Afg (2012)
- David Warner, 18 balls, Aus v WI (2010)
- David Warner, 19 balls, Aus v SA (2009)
- Gautham Gambhir, 19 balls, Ind v SL (2009)
With a place at their second successive World T20 at stake, William Porterfield's men restricted the African side 94-6, seamer Max Sorensen taking 2-8.
The Irish then needed only 61 balls to reach their target, Stirling plundering a 32-ball 59 for his first half-century of the day.
With Ireland and Afghanistan now both assured of a place in tournament with the Test-playing nations, the two sides met in the qualifying event final to determine where they will be placed in the main draw.
The Afghans, previously unbeaten in the qualifiers, were indebted to Mohammad Shahzad's 77 for their total of 152-7, as Kevin O'Brien picked up 2-18 for Ireland.
Ireland lost Porterfield, bowled by paceman Dawlat Zadran, from the first ball of their reply before Stirling went on the offensive.
His 38-ball stay included nine fours and a six as he added 80 for the third wicket with Gary Wilson (32).
"I think we came out positively," said Stirling. "Afghanistan has strong bowling, they've got one of the strongest team attacks in the tournament. The wicket suited my style.
"It was my first time playing under lights and tonight showed that the runs go up when you play later in the day."
Stirling and O'Brien fell in successive balls to Zadran, leaving Wilson to steady the ship and Andrew Poynter (23) to hit the winning runs.
"It's really pleasing to win a trophy," said Porterfield. "Ten games unbeaten is a fantastic effort from the lads.
"It's a long way to go now to the World Twenty20. Playing against Australia and the West Indies is going to be a tough task. We've got to keep working hard and improving our skills."
The win adds to the recent success enjoyed by the Irish, who have scored wins over Pakistan and England at the last two 50-over World Cups.
Ireland announced that they plan to apply to the International Cricket Council for Test status.