Huge 89th minute strike from Selcuk Inan booked Turkey's place at Euro 2016 !
Needing victory to secure a passage to next year's tournament in France as the best-ranked third-place team, Fatih Terim's side were reduced to 10 men 13 minutes from time when Gokhan Tore was dismissed for a rash challenge on Jon Dadi Bodvarsson.
But up stepped Galatasaray midfielder Inan in the final minute of normal time to curl a sumptuous 25-yard free-kick beyond visiting goalkeeper Ogmundur Kristinsson and spark wild celebrations in Konya.
The Turkish party could only truly get underway when Kazakhstan's win by the same scoreline over Latvia in Riga was confirmed, dropping the hosts to bottom place and meaning Turkey edged Hungary as the best third-placed team.
Iceland also progressed from Group A as runners-up to the Czech Republic, who ensured Netherlands were eliminated amid ignominy and a 3-2 defeat in Amsterdam.