GENEVA, Switzerland — Turkey stunned the Czech Republic with three goals in the final 15 minutes, including two in three minutes, for a 3-2 victory Sunday that lifted the Turks into the European Championship quarterfinals.

The Czechs were in control 2-0 on goals by Jan Koller and Jaroslav Plasil before Turkey staged its comeback in the rain. Arda Turan scored in the 75th minute, Nihat Kahveci tied it off a mistake by goalkeeper Petr Cech, and Nihat won it in the 89th with a sharp shot off the crossbar and into the net.

Turkey goalkeeper Volkan Demirel was red-carded in injury time for knocking down Koller. Midfielder Tuncay Sanli replaced him in goal for the final seconds but did not face a shot.

Turkey plays Croatia in the quarterfinals Friday in Vienna.

SWITZERLAND 2, PORTUGAL 0: At Basel, Switzerland, Hakan Yakin scored twice, helping the co-host end its European Championship with a first-ever win at the tournament.

With Portugal already through to the quarterfinals as Group A winner and the Swiss eliminated after two losses, Yakin opened the scoring after a flicked pass by fellow striker Eren Derdiyok in the 71st minute. He shot through the legs of goalkeeper Ricardo from about 14 yards.

Yakin added his second goal on a penalty kick in the 83rd after Fernando Meira was judged to have fouled substitute Tranquillo Barnetta.

It sealed Switzerland's first win in three European Championship appearances, albeit against a Portugal team that rested eight starters, including stars Cristiano Ronaldo and Deco. Portugal plays Thursday against the Group B runner-up.