Ajax finished in third spot in Group D and a place in the Europa League despite losing 4-1 to Real Madrid.
Goals from Cristiano Ronaldo and Jose Maria Callejon had the home side 2-0 up within half an hour as they completely dominated the first period and Kaka made it three just after the interval with a sumptuous strike from 20 yards.
Real appeared to slacken off and could have punished more thoroughly than Derk Boerrigter's single consolation goal as he capitalised on a poor punch by Antonio Adan to slot home on the hour mark before Callejon rounded off the scoring two minutes from time.
Defeat for the Dutch champions though was compensated by news of Borussia Dortmund's victory over Manchester City which means Ajax qualify for the Europa League by finishing third in the group.
Karim Benzema thought he had opened the scoring when he poked home from close range after just seven minutes but he was adjudged to have wandered offside from Ronaldo's cross.
Fabio Coentrao then hit th...