Mario Balotelli and Philippe Mexes scored late on at Siena as Milan came from behind to secure a place in the UEFA Champions League.
Balotelli’s 84th-minute penalty had cancelled out Claudio Terzi’s first-half header, before Mexes netted a crucial winner three minutes from time.
A hard-fought second half saw both sides reduced to 10 men in the space of just a few minutes after Massimo Ambrosini and Christian Terlizzi were both sent off for second bookable offences.
But it was the late goals that made all the headlines as Milan guaranteed their place at European football's top table in dramatic circumstances.
Milan came into the game needing to win in order to beat Fiorentina to the final UEFA Champions League place, and they made five changes to the team that played out a controversial 0-0 draw with Roma last week.
Sulley Muntari's bizarre red card in that game meant that he was suspended, while Ignazio Abate was preferred ahead of Kevin Constant.
Robinho, Antonio Nocerino, Riccardo Montolivo and M'Baye Niang were all handed starts.
Siena, whose relegation was confirmed with a 2-1 loss away to Napoli, welcomed back Alessandro Rosina.
Milan began the game with an expected level of urgency, creating a flurry of chances during the opening exchanges.
Balotelli was the first to test Gianluca Pegolo in the Siena goal, seeing his stinging long-range effort tipped over the crossbar.
A few moments later, Cristian Zapata saw a header cleared off the line before Brazilian Robinho was unlucky not to break the deadlock when he saw his vicious swerving shot palmed away by Pegolo.
And Milan were made to pay for their profligacy just before the half-hour mark when the hosts took an unlikely lead through Terzi.
A pinpoint free-kick from Rosina found the head of the defender, who took advantage of some slack Milan marking to direct his header past Chrisitan Abbiati.
Milan nearly conjured up the perfect response just two minutes later, when Balotelli crashed a shot onto the crossbar.
And the Italian was involved again just before half-time, forcing a decent save from Pegolo as Siena weathered the Milan storm.
The second half began in similarly frustrating circumstances for Milan, as they struggled to find a decisive final ball. And 10 minutes later they were down to 10 men when Ambrosini slid in rashly on Adrian Callelo and was shown a second yellow card.
The numbers were even soon after, though, as the home side were also down to 10 men - Terlizzi given his marching orders for jumping into a challenge with Balotelli.
Balotelli made his mark in some style 10 minutes from time when he was brought down in the box by Felipe to give Milan hope.
The Italian brushed himself down to calmly slot home the resulting spot-kick and the comeback was on.
Then, with just two minutes to go, Mexes found himself on the end of a Montolivo cross to slot home the dramatic winner.
|88||C. Terlizzi||45' 70'|
|14||F. Della Rocca|
|Coach: G. Iachini|
for A. Rosina 61'
for I. Emeghara 75'
for M. Rubin 89'
|Walcott confident Gabriel can handle physicality|
|Januzaj glad to get game time|
|Pellegrini positive City can close the gap|
|Martinez hopes win can be a springboard|
|Equatorial Guinea win miraculous - Becker|
|Vertonghen excited by Tottenham´s form|
|Garcia lauds Roma´s resilience|
|Sinclair wants to let his football do the talking|
|Luis Enrique aiming to halt Villarreal progress|
|Costa: ´I’m no angel´|
|La Liga Review: Real, Atletico cruise to wins|
|Primeira Liga Review: Leaders Benfica bounce back with win, Vitoria held|
|Serie A Review: Roma drop more points, Genoa and Fiorentina draw|
|Ligue 1 Review: Marseille return to second, Montpellier held|
|Eredivisie Review: PSV go nine points clear, Twente steal last-gasp win|
|Tunisia 1 Equatorial Guinea 2 (aet): Balboa brace sends hosts through|
|Klopp encouraged by Leverkusen stalemate, as Dortmund hit bottom|
|No-show again from Mourinho after City draw|
|Pellegrini suggests different styles shown by City and Chelsea|
|Le Roy dejected following Congo´s Africa Cup of Nations exit|
|Bundesliga Review: Dortmund bottom, Paderborn thumped|
|Simeone marvels at Griezmann improvement|
|Emulating Messi will be tough for Neymar - Luis Enrique|
|Ibenge revels in DR Congo fightback|
|Reception delights Lampard on Stamford Bridge homecoming|
|Milan to downsize from San Siro|
|League Two Review: Luton claim Cambridge double, Shrewsbury stay top|
|Matic feels the effects of Liverpool match in City draw|
|West Brom lacked tempo, says Pulis|
|Pochettino remains grounded|
|Lukaku can inspire Everton - Martinez|
|Bayer Leverkusen 0 Borussia Dortmund 0: Frustrating draw leaves BVB bottom|
|Chelsea 1 Manchester City 1: Advantage Mourinho as top two share the spoils|
|Pardew laments lack of guile in Everton defeat|
|Poyet hoping to build on Burnley victory|
|Ancelotti lauds ´fantastic´ Benzema|
|Dyche backs Ings to bounce back after ´off-day´|
|Pearson brushes off ´bonus game´ defeat|
|Eibar 1 Atletico Madrid 3: Griezmann and Mandzukic inspire champions´ response|
|Rodgers delighted with Sturridge´s goalscoring return|
|QPR not as bad as scoreline suggests - Redknapp|
|League One Review: Bradford pushed hard as MK Dons go top|
|United killed the game too much - Van Gaal|
|Hughes hails hat-trick hero Walters|
|Congo 2 Democratic Republic of Congo 4: Mbokani strikes twice in remarkable fightback|
|Talks break down over Fletcher´s West Ham switch|
|Scottish Premiership Review: Highland derby all square|
|Championship Review: Derby and Boro stay in touch with leaders|
|Good enough for Real Madrid or Barcelona? - Luongo is Socceroos´ next superstar|
|Bruce backs Elmohamady after ´horrible afternoon´|
|Crystal Palace 0 Everton 1: Lukaku ends Palace run|
|Stoke City 3 QPR 1: Walters hat-trick seals win for hosts|
|Liverpool 2 West Ham 0: Sturridge on target in long-awaited return|
|West Brom 0 Tottenham 3: Kane at the double to down Albion|
|Manchester United 3 Leicester City 1: Van Gaal´s hosts avenge humiliating defeat|
|Real Madrid 4 Real Sociedad 1: Benzema stars in Ronaldo´s absence|
|Sunderland 2 Burnley 0: Defoe nets in routine victory|
|Roma snap up Doumbia|
|Huddersfield defender Smith stable after being airlifted to hospital|
|Carver: More to come from Cabella|
|Ivory Coast v Algeria: Renard demands success|
|Match winner Troisi hails Socceroo colleagues|
|Ghana v Guinea: Grant´s men tackle team happy with their lot|
|Australia deserved victory - Ki|
|Inzaghi ready to unleash duo against Parma|
|Cahill: Socceroos triumph to super-charge football in Oz|
|Hull City 0 Newcastle United 3: Carver up and running after routine win|
|Stielike: South Korea still champions|
|Recruitment proving difficult for Mancini|
|Postecoglou targets World Cup impact|
|Allegri dismisses talk of Vidal rift|
|Australia 2 South Korea 1 (aet): Troisi seals Socceroos´ maiden Asian Cup title|
|Ibrahimovic questions PSG fans|
|Azpilicueta anticipating ´weird´ Lampard return|
|Sinclair: Milner praise for Villa made my decision easy|
|Van Gaal fumes at questions on Herrera´s future|
|Cork excited about new challenge|
|Arsenal still gunning for glory - Gibbs|
|Quinteros named Ecuador coach|
|Sturridge eager to prove fitness|
|Blanc: ´We were expecting better´|
|Hecking proud of Wolfsburg|
|Boateng urges Bayern to learn from Wolfsburg thrashing|
|Sporting Braga 1 Moreirense 0: Santos the hero for hosts|
|Cordoba complete triple swoop, Levante bring in two|
|Partick Thistle 0 St Mirren 1: Debutant Dayton the hero|
|Rayo Vallecano 1 Deportivo La Coruna 2: Borges debut double downs hosts|
|Bournemouth 2 Watford 0: Championship leaders stroll to success|
|Dordrecht 0 Heerenveen 0: Visitors´ woes compounded by Sinkgraven sale|
|Paris Saint-Germain 1 Rennes 0: Lavezzi goal enough for champions|
|Palace confirm Souare capture|
|Barcelona v Villarreal: Xavi looking to put high-flyers in their place|
|Simeone denies gesture towards referee|
|Wolfsburg 4 Bayern Munich 1: Dost and De Bruyne at the double as hosts honour Malanda|
|Ben Arfa ineligible to play for Nice|
|Ginola calls time on FIFA presidency bid|
|Cork seals Swansea switch|
|Arsenal v Aston Villa: Wenger lauds team spirit|
|Strootman out for longer than expected|
|Southampton v Swansea City: Monk eager for return to form|
|Injury blow for Southampton striker Long|
|Montella confirms Cuadrado will join Chelsea|
|Bordeaux bring in Chantome from PSG|
|Huth suspended for two matches over tweets|
|Udinese v Juventus: Pirlo not taking Serie A lead for granted|
|Carlisle to return home|
|Prince Ali outlines campaign after submitting FIFA president bid|
|Costa must improve behaviour - Pellegrini|
|Olic seals Hamburg return|
|FIFPro planning legal action to protect unpaid players|
|Burnley rule out Liverpool move for Ings|
|Pochettino fumes at Tottenham schedule|
|Cork set for Swansea switch|
|Hull left in the cold by local gas board|
|Ancelotti: No repeat of Ronaldo indiscretion|
|Murray signs Palace extension|
|Garcia: Roma will sign a replacement for Destro|
|Sassuolo v Inter: Ranocchia hopes turning point has come|
|Congo v Democratic Republic of Congo: Neighbours clash in AFCON quarter-final|
|Fletcher in West Ham talks|
|Tunisia v Equatorial Guinea: Favourites wary of hosts|
|Carrick to miss four weeks|
|Figo submits bid for FIFA presidency|
|Costa hit with three-match ban|
|Villa confirm Sinclair loan|
|Hull agree fee for N´Doye|
|Milan clubs should merge, says agent Raiola|
|Redknapp brands Fer speculation ´absolute rubbish´|
|Destro completes Milan move|
|Iraq 2 UAE 3: Khalil´s brace sees off Iraqis|
|Ward-Prowse signs Southampton deal|
|Mandanda: Marseille will turn it around|
|Fuchs backs Schalke goalkeeper Giefer to shine|
|Wenger unlikely to risk Sanchez, could start Gabriel|
|Newcastle would need ´ridiculous´ bid to sell Sissoko|
|Kramer sure of sustained Champions League challenge|
|Sturridge would have steered Liverpool to Wembley - Rodgers|
|South Korea claim underdog status|
|We can handle the pressure, says Postecoglou|
|Cheyrou joins Toronto|
|AFC boss rejects Australia expulsion claims|
|Australia v South Korea: Socceroos eyeing maiden Asian Cup|
|Wolfsburg plan Malanda tribute|
|Blanc: Ibrahimovic, Cavani need to improve partnership|
|NBA´s Kings invest in Sacramento Republic|
|Djukic slams Ronaldo as ´ugly and conceited´|
|Marcelino hails Villarreal´s historic achievement|
|Destro: I want to show Milan are great|
|Copa del Rey Review: Aduriz breaks drought to send Bilbao through|
|Blaszczykowski to miss Leverkusen clash|