| Yidiray Basturk of Turkey (left) challenges Brazilian striker Ronaldinho in Saint-Etienne Monday. (Reuters)
St Etienne: Turkey lined up a Confederations Cup semi-final with holders France after knocking world champions Brazil out of the tournament in a thrilling 2-2 draw on Monday.
Brazil, who needed a win to go through, took a fully-deserved first half lead through Adriano, but were rocked by Gokdeniz Karadenizís equaliser in the 53rd minute and pole-axed by an 81st minute strike by substitute Okan Yilmaz.
Brazil substitute Alex equalised in the third minute of stoppage time, but they had Ronaldinho dismissed for a second yellow card in the closing seconds.
Both teams finished with four points and the same goal difference but Senol Gunesí side went through on goals scored ó four to Brazilís three.
Group B winners Cameroon, who drew 0-0 with the United States, will play Colombia in the other semi-final, with both games being played on Thursday.
In a passionate match, Turkey finally got their revenge for being beaten by Brazil at the group stage and the semi-finals of the 2002 World Cup. It was richly deserved for their ability to slice the South Americans apart on the break in the second half.
But Brazil, who lost their opening game 0-1 to Cameroon, will be kicking themselves after squandering the chance to be three goals in front by halftime.
The result also denied the neutrals a re-match of the 1998 World Cup final at the same St Denis Stadium outside Paris where the Brazilians had lost 0-3 to the host nation.
Brazil made by far the better start, with Ilan meeting Klebersonís cross to the far post with a powerful header that beat Rustu but slammed against the post.
Rustu had no better luck minutes later, when he flapped at a high ball to the far post and was robbed of possession by Ronaldinho. Adriano collected his square pass but the strikerís shot was cleared off the line by skipper Bulent Korkmaz.
There was no escape for Turkey, though, in the 23rd minute when a long pass upfield caught the defence napping and Adriano was able to knock the ball over the advancing Rustu.
Adriano turned potential goalmaker with a sidefoot pass for Kleberson, who fluffed his shot, as Brazil comfortably saw out the half in full control of the match.
That situation took a turn for the worse for the South Americans eight minutes after the re-start, though, when Turkey defender Ibrahim Uzulmez chipped the ball over the Brazil rearguard.
In a copycat finish to Adrianoís goal, Karadeniz lobbed the ball over the advancing Dida for his second international goal to put Gunesí men back on course for the semi-finals.
The goal blew the match wide open, with Brazil frantically pushing forward in search of a winner and Turkey looking to use the pace and dribbling of striker Tuncay Sanli on the break.
The next real chance fell to Brazilís overlapping right-back Maurinho, put through by Alex for an angled shot which Rustu blocked.
The cut and thrust was bound to draw blood sooner or later and the triumph went to Turkey when Yilidiray Basturk sprinted through on the break and slipped the ball wide for Yilmaz to score.
Alexís strike in a pulsating finale could only make the scoreline more respectable for Carlos Alberto Parreiraís side, who were missing the likes of Ronaldo, Rivaldo, Roberto Carlos and Cafu for the tournament.