Milan reached the last 16 of the UEFA Champions League by holding Ajax to a goalless draw despite playing much of the game with 10 men.
Milan captain Riccardo Montolivo was sent off for a lunge on Christian Poulsen after only 22 minutes at San Siro, but Ajax were unable to secure the victory they needed to progress from Group H.
Poulsen was denied by the post before Montolivo saw red and Serie A outfit Milan dug deep with a dogged defensive display to secure second place behind Barcelona.
Ajax were totally dominant but failed to make the most of their numerical advantage as they missed a golden opportunity to reach the last 16 for the first time in eight years and were forced to settle for a UEFA Europa League spot.
Fit-again Milan striker Stephan El Shaarawy made his first start since August, while right-back Mattia De Sciglio also returned in one of five changes made by Massimilano Allegri.
Poulsen, Bojan Krkic and Stefano Denswil all came in for Ajax, who started brightly and nearly took the lead in the fourth minute.
Manager Frank De Boer insisted the Eredivisie champions had nothing to lose at the San Siro and they were only denied by the woodwork as Poulsen's glancing header struck the far post from a Lasse Schone corner.
Ajax were brimming with confidence and recalled Milan goalkeeper Christian Abbiati got down well to tip Davy Klaassen's header around the near post.
Milan's hopes of progressing to the last 16 then suffered a major setback when Montolivo was given his marching orders by referee Howard Webb for a reckless late challenge on Poulsen.
Allegri was forced into a reshuffle as a result, as El Shaarawy's comeback was short-lived, with Andrea Poli replacing him in a bid to bolster Milan's midfield.
De Boer replaced defensive midfielder Poulsen with striker Danny Hoesen at the break and the visitors piled on the pressure at the start of the second half, with Viktor Fischer firing over the crossbar from the edge of the penalty area.
Klaassen then fired straight at a grateful Abbiati from 20 yards out as Ajax continued to probe and the tension mounted.
Abbiati was called into action again after 65 minutes to save with his feet to keep out Fischer's drilled right-foot strike after some lovely build-up play.
Klaassen spurned a great chance when he scuffed a shot wide of the far post 17 minutes from time as Ajax's frustration built and Denswil fired wide in a feisty finale.
Then midfielder Klaassen was narrowly off target with the last kick of the game as a gutsy Milan side stood firm on a frustrating night for the Dutch giants.
|2||M. De Sciglio||89'|
|34||N. de Jong||83'|
|92||S. El Shaarawy|
|Coach: M. Allegri|
for S. El Shaarawy 24'
for Kaká 81'
|Zidane champions ´undying belief´ of Real Madrid saviour Ramos|
|Real Madrid 3 Deportivo La Coruna 2: Ramos to the rescue again for BBC-less hosts|
|Real Madrid set new 35-match unbeaten record|
|Terror attack at home of Besiktas condemned|
|Ranieri: Big champions react at the right moment|
|Guardiola defends tactics as City falter again|
|Wenger confirms Mustafi to miss three weeks|
|Iniesta: Barcelona never despaired against Osasuna|
|Leicester City 4 Manchester City 2: Vardy back in business as champions upset City|
|Snodgrass apologises after controversial penalty|
|Falcao´s first hat-trick in four years sends Monaco top of Ligue 1|
|Bosz confirms Bazoer´s imminent departure|
|Moyes: Swansea penalty the wrong decision|
|Ancelotti delighted after Muller finally scores|
|Dyche blasts ref for giving Bournemouth lifeline|
|Equaliser hurt us, concedes Hughes|
|Pardew sympathises with referee after Snodgrass penalty|
|Bradley delighted by Swansea response and clean sheet|
|´We´re going to s***´ - Mina disgusted as Valencia lose again|
|FACT: Vardy ends drought as Man City make worst start in 10 years|
|Wenger lauds Arsenal composure in comeback triumph|
|Tuchel: Reus is irreplaceable for Borussia Dortmund|
|Alba: Messi hasn´t spoken about new contract|
|Ingolstadt 1 RB Leipzig 0: First defeat knocks newcomers off top|
|Hull City 3 Crystal Palace 3: Campbell equaliser buys Pardew time|
|Burnley 3 Bournemouth 2: Hendrick stunner helps Burnley to victory|
|Swansea City 3 Sunderland 0: Llorente double eases pressure on Bradley|
|Arsenal 3 Stoke City 1: Gunners battle back to move top|
|Cologne 1 Borussia Dortmund 1: Reus salvages draw with late equaliser|
|Inter boss Pioli wary of Milan and Juventus conquerors Genoa|
|Bayern Munich 5 Wolfsburg 0: Muller breaks duck as hosts go top|
|Jozy Altidore and Christian Pulisic honored with US Soccer awards|
|Too passive and too reactive - Koeman slams Everton after Watford defeat|
|Luis Enrique challenges Barcelona to pile pressure on Madrid|
|Deeney: More to come from two-goal Okaka|
|A-League Review: Berisha the hero for Melbourne Victory|
|Allegri: Turin derby is dangerous for Juve|
|Suarez refuses to give up LaLiga title fight|
|Watford 3 Everton 2: Okaka double adds to Toffees´ away-day woes|
|Osasuna 0 Barcelona 3: Messi magic ends frustrating run of draws|
|Emery does not fear PSG sack|
|Eder adamant Inter can still reach Champions League|
|Montreal Impact claim Dzemaili coup|
|Ventura: Belotti like Ronaldo and Buffon|
|Manchester United have duty to entertain - Valencia|
|Barry set to go joint-second in all-time Premier League appearance list|
|Ventura: Buffon welcome in Italy coaching set-up|
|Marseille stump up for 160 fans´ Dijon stays|
|Gabriel will only go on loan to a club on Inter´s level, says agent|
|Bayern do not bow to economic force - Hoeness|
|All clubs would want Sturridge, says Bilic|
|Seaman urges Arsenal to spend big on keeping Sanchez and Ozil|
|Bravo happy to accept criticism for City showings|
|Origi reveals United, Bayern snubs|
|Cavani: I´d like to play with Griezmann one day|
|Aguero is not aggressive, claims Guardiola|
|Ibrahimovic wants United to be ruthless|
|Sanchez can be Arsenal´s new Henry - Wenger|
|Andre Gomes can play in Busquets role, insists Luis Enrique|
|Aguero´s dangerous tackle scared me, says Conte|
|Guardiola: We are killing the players|
|Bournemouth announce plans for new stadium|
|Former Bayern Munich and Real Madrid star Ze Roberto to play beyond 43rd birthday|
|Barcelona friendly awaits new Chapecoense coach Mancini|
|Arsenal are privileged to have Sanchez and Ozil - Monreal|
|Watzke denies agreement to discuss Aubameyang transfer with Madrid|
|Paris Saint-Germain v Nice: Champions hunting down shock leaders|
|Giggs tells Rashford how to end his goal drought|
|Manchester United without Shaw, Smalling for Tottenham clash|
|Willems inks PSV renewal|
|Costa and Conte scoop Premier League awards|
|Conte detained on suspicion of assault|
|Strootman ban for derby ´simulation´ overturned|
|Mourinho demands more goals from Rooney|
|Bobo preserves Sydney´s unbeaten start in Cup final rematch|
|Luis Enrique: I don´t dare predict if Messi will renew|
|Mourinho admits changing style for United|
|Sanchez talk is disrespectful, says Conte|
|Sassuolo 0 Genk 2: Visitors seal top spot|
|Sterling back for City as Guardiola predicts tough Leicester test|
|Mourinho still the ´Special One´ for Pochettino|
|Matic return leaves Conte with Fabregas dilemma|
|Guardiola expects greater impact from City youngsters next season|
|Klopp defends Karius after Bournemouth blunder|
|Pirlo visits Chelsea - but Conte is not signing him|
|Ronaldo, Modric rested for Deportivo clash|
|Tuchel hails returning Reus|
|Klopp has ´no idea´ on Sturridge return|
|´My players are intelligent and good people´ - Zidane on Ronaldo´s taxes|
|Atletico to play at ´Wanda Metropolitano´|
|Real Madrid to rest Benzema and start Morata against Deportivo|
|Ancelotti rules out Draxler bid as Bayern prepare for barren transfer window|
|Ighalo calls on Watford to sign Mikel|
|Pardew wants defender and striker to bolster Palace survival push|
|Moyes: M´Vila doesn´t have the fight for Sunderland|
|Leipzig only built to earn Red Bull money - Watzke|
|Shenhua director blasts CSL imports... but desperate for Tevez deal|
|Ribery: Bayern my last club in Europe|
|Hughes targets Arsenal fans to help Stoke end dismal away run|
|83 suspects, 98 clubs ´impacted´ in football abuse probe|
|Fowler pleads with Liverpool to keep ´top quality´ Sturridge|
|Reus ´100 per cent different´ on comeback|
|Ibrahimovic ´super happy´ for rejuvenated Mkhitaryan|
|Vertonghen: Football needs Mourinho|
|Title triumph went to Leicester´s heads, admits Ranieri|
|Conceicao named new Nantes coach|
|LaLiga lead means nothing - Zidane|
|Chapecoense add two stars to badge in wake of air disaster|
|Blatter accuses Infantino of lack of respect|
|Austin injury compounds Puel´s misery|
|Gestifute publishes further evidence of ´Ronaldo tax compliance´|
|Pioli eyes further Inter improvement|
|´I feel s***´ - Van Dijk blasts Southampton after Europa League collapse|