ajax's last-16 hopes were ruined as madrid's sixth win allowed olympique lyonnais to complete the seven-goal turnaround needed to overhaul them.
afc ajax suffered a traumatic 3-0 defeat by runaway group d winners real madrid cf which, combined with olympique lyonnais' astonishing 7-1 victory at gnk dinamo zagreb, consigned them to third in the section.
despite resting a number of first-team regulars it was the visitors who drew first blood in amsterdam through josé callejón and ajax's misery was compounded when gonzalo higuaín doubled the visitors' lead shortly before half-time. miralem sulejmani hit the bar but lyon's stunning comeback meant the home side were already destined for the uefa europa league when callejón scored his second late on.
lyon began the evening needing to win, for ajax to lose and to orchestrate a seven-goal turnaround in the process. keeping things tight was therefore the order of the day for frank de boer's men – instead, they were behind after 14 minutes. kaká's deft pass found callejón in space on the edge of the box, and the striker calmly controlled before slotting it between kenneth vermeer's legs.
the goalkeeper was in the thick of it again soon after, keeping out karim benzema's low shot, while at the other end antonio adán had to get down smartly to smother christian eriksen's effort from 20 metres. ajax then had two efforts ruled out for offside: first when nicolás lodeiro had headed in after adán could only parry gregory van der wiel's drive; then vurnon anita's shot was deflected into the net by sulejmani.
it got worse for the four-time european champions as higuaín latched onto a magnificent crossfield pass by benzema to rifle into the roof of the net for madrid's second. back came ajax, and the second half was eight minutes old when sulejmani's superb chip came back off the woodwork with adán stranded.
by then lyon were 4-1 up, needing to score twice more as things stood to eliminate ajax. vermeer made a crucial diving save to deny esteban granero to keep it that way but when those lyon goals duly came, ajax sent on strikers dmitri bulykin and davy klaassen to force the issue.
the french side scored again, meaning that by the time callejón made it 3-0 ajax's fate was already sealed. at full time the home players sank to their knees; yet madrid progress serenely, becoming only the fifth side to finish the group stage with a 100% record.