Spain 1-2 Egypt: La Roja edged out as Pharaohs top Olympics Group C
Spain are among the favourites to win a medal at the Paris Olympics, but La Roja have not managed to top their group.
Spain slipped to a 2-1 defeat to Egypt as the Pharaohs claimed top spot in Group C at the Paris Olympics.
One of the favourites for a medal at the Games, Spain were ultimately second best for much of Tuesday's contest in Bordeaux.
Ibrahim Adel's double put Egypt in control, before a powerful header from Samu Omorodion in the 90th minute teed up a grandstand finish.
Yet Spain, who had earlier hit the woodwork, could not capitalise on 10 minutes of added time to find an equaliser.
It means Egypt top the group with seven points from their three fixtures, while Spain progress in second place, with the other match between Uzbekistan and the Dominican Republic having finished 1-1.
Egypt will face the runner-up of Group D, which could be any of Japan, Paraguay, Mali or Israel.
Spain will face whoever finishes top of that group, with that a straight battle between Japan or Paraguay.
Data Debrief: Zizo and Adel steal the show
Zizo was Egypt's creative fulcrum, playing five key passes, including a superb assist for Adel's second.
Adel, meanwhile, scored his two goals from 1.22 expected goals (xG), showing great composure for his second finish as he knocked a cute effort around advancing Spain goalkeeper Alejandro Iturbe.