Two late goals from Nihat Kahveci gave Turkey a 3-2 win over the Czech Republic, and secured them a place in last eight of Euro 2008.
The Czechs had gone up 2-0 early on, but Arda Turan scored to give Turkey a fighting chance. Nihat then banged home the winners in the dying minutes.
Meanwhile, Portugal lost their unbeaten record thanks to a 2-0 defeat at the hands of Switzerland.
It didn't make a difference as Portugal are still through to the next round.