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'
|´He is doing a fantastic job´ – Bartomeu backs Luis Enrique|
|Guardiola slams ´unacceptable´ Wenger treatment|
|Spalletti: Roma goal machine Dzeko now believes he´s world class|
|Emery refuses to blame referee after PSG are held|
|Montella dedicates AC Milan win to Berlusconi|
|The players don´t need whistles – Luis Enrique hits out at fans|
|Brazilian game called off due to TV dispute|
|Chelsea are already Premier League champions, says United boss Mourinho|
|Barcelona 2 Leganes 1: Late Messi penalty spares Ter Stegen´s blushes|
|Paris Saint-Germain 0 Toulouse 0: Champions spill valuable points|
|AC Milan 2 Fiorentina 1: Deulofeu strike keeps European hopes alive|
|Attitude got Man United through - Mourinho|
|Roma 4 Torino 1: Dzeko strikes again|
|Lincoln face Sutton or Arsenal in FA Cup quarter-finals, Chelsea host Man United|
|Neuer slams Jarstein after brawl|
|Blackburn Rovers 1 Manchester United 2: Substitutes Pogba and Ibrahimovic combine for late winner|
|Inter insist Perisic going nowhere, rule out move for Verratti|
|Borussia Monchengladbach 1 RB Leipzig 2: Forsberg and Werner reignite title bid|
|Training-ground meetings paid dividends - Pochettino|
|I´m trying to find a team - Berbatov open to offers|
|Inspired by Zeman´s return, Pescara hammer Genoa 5-0|
|Gabigol wants to make history after Inter breakthrough|
|Chievo 1 Napoli 3: Sarri´s men bounce back from Champions League disappoitment|
|Alfonso Perez calls for Pique to quit international football over political beliefs|
|Benatia refuses to question Allegri´s decisions|
|Fulham 0 Tottenham 3: Kane hat-trick fires Spurs into quarter-finals|
|Oblak return boosts Atletico ahead of Leverkusen trip|
|Gabigol and Inter ready to feast on success after late winner|
|Bologna 0 Inter 1: Gabigol gets belated lift-off in Serie A|
|Still no Mascherano or Arda for Barcelona|
|Bielsa appointed Lille boss from next season|
|Janssen determined to make the grade at Tottenham|
|Stones missing Kompany influence at Manchester City - Ferdinand|
|Central Coast Mariners 0 Melbourne Victory 3: Muscat´s men cruise to win|
|David Villa sent off after video replay|
|Favre not blaming Balotelli for latest red card|
|´It is my future at stake´ – Isco could leave Real Madrid|
|Smalling desperate for Ibrahimovic stay|
|´He will be here for sure´ - Mourinho rules out Shaw exit|
|Wenger not ready for retirement, wants Arsenal stay|
|Pogba will soon look cheap, claims Manchester United boss Mourinho|
|Casilla defends under-fire Navas|
|Isco ´happy and committed´ at Real Madrid – Zidane|
|Middle finger gesture was because I was spat at - Ancelotti|
|Leicester must learn from Millwall´s ´gladiators´ – Ranieri|
|Sevilla 2 Eibar 0: Sampaoli´s side move up to second|
|Lorient 0 Nice 1: Balotelli sent off as visitors go second|
|Too early to talk about Chelsea double – Conte|
|Conte delighted with Chelsea´s fringe players|
|Foreign players don´t expect cup upsets – Terry|
|Bale eyes top form and titles after scoring on Real Madrid comeback|
|Watzke received death threats after Leipzig match|
|Wolves 0 Chelsea 2: Pedro and Costa send Conte´s men through|
|Zidane reveals what he whispered to Bale before comeback goal|
|Dardai hits out at ´Bayern bonus´ after late equaliser|
|Ancelotti adamant Bayern deserved controversial equaliser|
|Ronaldo was not getting anxious, insists Zidane|
|Kompany injury not serious, says Manchester City boss Guardiola|
|Kompany injury not serious, says Manchester City boss Guardiola|
|Ranieri: 10-man Millwall were better than us|
|Piszczek represents everything Borussia Dortmund stand for - Tuchel|
|Championship Review: Brighton back top, Wednesday capitalise on Norwich slip|
|´Vamosss!!!´ - Bale ecstatic after scoring on Real Madrid return|
|Favourites tag weighed heavily on Burnley in Lincoln loss, says Dyche|
|Simeone delighted with Gameiro´s ruthless cameo|
|Millwall 1 Leicester City 0: Cummings wins it for 10-man Lions|
|Middlesbrough 3 Oxford United 2: Stuani rescues Boro after minute of mayhem|
|Real Madrid 2 Espanyol 0: Bale scores on comeback as hosts extend lead|
|Huddersfield Town 0 Manchester City 0: No pep from Guardiola´s men in cup stalemate|
|Hertha Berlin 1 Bayern Munich 1: Lewandowski rescues champions with last kick|
|Barton denies trying to force Rhead red and accuses Lincoln of play-acting|
|Borussia Dortmund 3 Wolfsburg 0: Piszczek stars with Yellow Wall absent|
|Cowley brothers marvel at Lincoln´s FA Cup heroics|
|Violence in the stands mars Tigres victory|
|Raggett ´lost for words´ after sending Lincoln into FA Cup quarter-finals|
|Gameiro dedicates hat-trick to grandmother|
|Burnley 0 Lincoln City 1: Raggett puts non-league heroes in FA Cup dreamland|
|Gameiro hits fastest LaLiga hat-trick in 22 years|
|Big-money signing Krychowiak to play with PSG reserves|
|Sporting Gijon 1 Atletico Madrid 4: Stunning Gameiro hat-trick snatches victory|
|A-League Review: Derby defeat for Sydney, Melbourne City cruise to victory|
|Barcelona results ´irrelevant´ to Luis Enrique´s future|
|Montella backs Donnarumma for Ballon d´Or|
|Bournemouth congratulate Arter on birth of daughter|
|Loftus-Cheek confident his Chelsea chance will come|
|Rashford still part of Mourinho´s plans - Brown|
|Klopp confirms Liverpool transfer plans are already underway|
|No chance of Jesus joining Inter, says agent|
|Dani Alves: If anyone can come back, it´s the Barcelona machines|
|Purslow stepping down from Chelsea role|
|Redknapp: Tottenham will win Premier League within four years|
|Buffon one of the greatest of all time - Casillas|
|Winning over happiness for Chelsea´s Conte|
|Manchester City can still win Premier League - Gundogan|
|Ferdinand backs Keane to re-sign with United like Pogba|
|Pochettino: Janssen must do more at Tottenham|
|Marotta: Juve signing Verratti unrealistic|
|Guardiola: I will never return to Barcelona|
|Allegri jokes ´how is my English?´ as Arsenal rumours intensify|
|We did not play well – Juventus hero Dybala fires Porto warning|