The Czech Republic scored two late goals to knock England out of the European Under-21 Championship and Spain beat 10-man Ukraine 3-0 to top Group B on Sunday.
Striker Danny Welbeck looked to have headed England into the semifinals when he powered home a cross from Daniel Sturridge 11 minutes from time but substitute Jan Chramosta equalized for the Czechs in the 89th minute.
A draw would have been enough for the Czechs but as England poured forward in search of a winner Chramosta turned provider, setting up Tomas Pekhart for a simple finish into an empty net to seal a 2-1 win for his side.
The reward for the Czechs is a semifinal meeting with Switzerland on Wednesday, while Spain, which comfortably beat Ukraine courtesy of two goals from Mata and one by Adrian, will face Belarus on the same day.