Spain came back from the dead with two goals in stoppage time to beat Yugoslavia and book a place in the quarter-finals.

Alfonso grabbed the last-gasp winner in a pulsating Group C match, the result of which sends both teams into the last eight of Euro 2000.

Spain looked to be heading home as they trailed when the clock ticked past 90 minutes.

Referee Gilles Veissiere handed them a lifeline with a penalty for a push on Abelardo. Gaizka Mendieta tucked the spot-kick away and Alfonso then volleyed home an incredible winner seconds later.

The fightback sent Spanish fans wild with delight but Yugoslav supporters were also able to celebrate as Norway's failure to beat Slovenia assured them of progress to the knock-out phase of the competition.

Vujadin Boskov's side could be in trouble with the authorities, however, as two supporters ran onto the pitch in separate incidents to confront the French referee.

One fan dashed on after the 64th-minute sending off of Slavisa Jokanovic, the third time in three games the Yugoslavs have been reduced to ten men. Another supporter draped in a national flag ran on at the final whistle and chased Veissiere.

Savo Milosevic had started the goal-rush with his fourth goal of the competition in the 31st minute.

Dragan Stojkovic triggered the sweeping move with a delightful back-heel in the midfield. Ljubinko Drulovic sped down the flank before swinging a perfect cross for the former Aston Villa striker to thump his header past Santiago Canizares.

Spain took just eight minutes to restore parity. The ball spilled kindly for Alfonso after Raul's darting run had been halted by a wall of Yugoslav defenders and he gratefully drove home his first goal of Euro 2000.

Both coaches made a change at half-time and both substitutes made an instant impact.

Dejan Govedarica, on for Vladimir Jugovic, restored Yugoslavia's lead six minutes after the restart with a sublime finish from the edge of the penalty area.

But a minute later the teams were level again as Pedro Munitis upstaged Govedarica's strike with a curling shot into the top corner.

Jokanovic saw red for his second yellow card for a tug on Sergi before his team took the lead for the third time, Slobodan Komljenovic poking the ball home after a scramble.

Then came the unbelievable finale which left Norway, who thought they had booked their place in the last eight with after playing out a nerve-jangling goalless draw with Slovenia, stunned.