Franco Brienza fired home a stunning late winner as Atalanta beat Milan 2-1 on Sunday to dent the latter's bid for European qualification.
Milan looked set to boost their chances of securing a place in the UEFA Europa League, and salvaging something from a largely disappointing campaign, when they took the lead early in the second half.
A Gianpaolo Bellini own goal put Milan in front in the 51st minute, but the hosts drew level before claiming victory in sensational fashion.
Top scorer German Denis equalised from the penalty spot for Atalanta with 22 minutes remaining before substitute Brienza had the final say.
With virtually the last kick of the game, the 34-year-old curled a wonderful left-footed shot into the top-left corner from 30 yards, heaping more pressure on Seedorf.
Sadly, matters on the field were marred by a banana being thrown onto the pitch in the direction of Milan defender Kevin Constant, an action that was met with sarcastic applause from team-mates Philippe Mexes and Nigel de Jong.
Milan made three changes to the side that beat city rivals Inter last weekend, Marco Amelia, Sulley Muntari and Keisuke Honda coming in for Christian Abbiati, who was suspended, Andrea Poli and Adel Taraabt.
Chances proved few and far between in a first half dictated for long periods by Milan, although the hosts may have taken the lead had Carlos Carmona been able to provide a better finish midway through the first half. The Chilean's weak shot was comfortably saved by Amelia.
Atalanta again went close in the 29th minute as Denis fired wide from the edge of the area, before Maxi Moralez missed the target with a header from Luca Cigarini's free-kick.
However, the best opportunity of the first half came five minutes before the interval as Atalanta goalkeeper Andrea Consigli tipped Mario Balotelli's curling free-kick against the crossbar.
Consigli was less convincing moments later when Balotelli fired in another swerving free-kick that he could only parry, with Honda heading wide on the follow-up.
Stephan El Shaarawy came on to replace Honda at the start of the second half, the forward returning from injury to make his first appearance of 2014.
Kaka then flashed a header over the bar before Seedorf's men broke the deadlock, albeit in somewhat fortuitous fashion.
Muntari broke down the left and aimed a low cross towards Balotelli, who appeared to be in an offside position. In attempting to prevent the ball from reaching Balotelli, Bellini turned the ball into his own net.
However, the visitors failed to take control of the contest after going ahead and Atalanta levelled when Denis sent Amelia the wrong way with a confident penalty after Carmona had been tripped by Constant.
Balotelli was thwarted by the woodwork again, hammering an effort against Consigli's right-hand post as Milan pressed for a winner.
Yet there proved to be one final twist in the tale as Brienza earned Atalanta three points with a brilliant first-time shot.
|Coach: S. Colantuono|
for G. Bonaventura 69'
for D. Baselli 75'
for M. Moralez 87'
|Sunderland miss out on goalkeeper Mika Domingues|
|Henriksen becomes Hull´s latest addition|
|Maksimovic makes Napoli switch|
|Transfer Deadline Day: David Luiz completes sensational return, Balotelli heads for Nice|
|Donnarumma is the chosen one - Buffon|
|Garay swaps Zenit for Valencia|
|Robson-Kanu opts for West Brom|
|Tearful Schweinsteiger bids farewell|
|Stoke´s Joselu heads to Deportivo on loan|
|Mbokani seals Hull switch|
|David Luiz rejoins Chelsea from PSG|
|Valencia joins Everton on loan from West Ham|
|Tottenham swoop for Sissoko on five-year deal|
|Markovic heads to Sporting|
|Fernandez agrees AC Milan loan|
|Retiring Keane set for supporter role|
|BREAKING NEWS: Sunderland loan Denayer|
|Germany 2 Finland 0: Meyer shines as emotional Schweinsteiger bows out|
|Republic of Ireland 4 Oman 0: Keane ends international career in style|
|Hull swoop for Weir|
|Wilshere makes loan switch to Bournemouth|
|Exiled Hart thanks ´amazing´ City fans for support|
|Lopez joins Espanyol from AC Milan|
|Vezo leaves Valencia for Granada|
|Leicester complete Slimani deal|
|Nice sign Balotelli from Liverpool|
|Chile must forget Copa glory - Pizzi|
|Tottenham complete Lopez loan|
|Edwards adds to Welsh midfield woes|
|Fiorentina loan Olivera to replace Alonso|
|No drastic changes to Spain approach - Lopetegui|
|Transfer Deadline Day: Chelsea seal Alonso signing as done deals pile up|
|Chelsea agree terms for David Luiz return|
|France stronger after Euro adventure, says Varane|
|Spurs seal N´Koudou deal, N´Jie joins Marseille|
|Gray granted appeal extension|
|Carbonero extends Sampdoria loan|
|Brozovic snubs Chelsea´s advances|
|Cuadrado returns to Juventus on three-year loan|
|Luis Alberto agrees Lazio move|
|Karius recovering from second operation|
|Mangala joins Valencia in latest City departure|
|Aguero granted extension to appeal|
|Douglas Santos signs for Hamburg on five-year contract|
|Chelsea sign Alonso from Fiorentina|
|Algeria release Slimani for Leicester medical|
|Fanni packs in Qatar for Marseille return|
|Stoke agree Martins Indi loan|
|Traore swaps Villa for Middlesbrough|
|Hart will be under pressure at Torino - Southall|
|Burnley complete record swoop for Hendrick|
|My mother rejected Milan approach – Totti|
|Sirigu excited by Sevilla switch|
|Gnabry completes permanent Werder Bremen switch|
|Sunderland seal Ndong deal|
|Wenger confident of immediate Mustafi impact|
|Transfers won´t interfere with Portugal preparation - Santos|
|Perez: Impossible to improve Real Madrid squad|
|Mainz add Ramalho on loan|
|Mustafi enjoys Arsenal fan´s costly tweet|
|Pocognoli leaves West Brom on loan|
|Vagner Love seals Alanyaspor switch|
|Bony lands Stoke loan switch|
|Mourinho admits international break concerns ahead of Manchester derby|
|Lee Grant-ed Stoke move|
|Transfer Deadline Day: Hart completes Torino switch as big moves wait|
|Hart signs Torino loan deal|
|Riviere looks for fresh start with Osasuna|
|Leverkusen loan Papadopoulos to RB Leipzig|
|Lewandowski relaxed over Bayern contract|
|Frankfurt take on Everton youngster Tarashaj|
|Casemiro: Tite sent Brazil players videos of his work|
|Sissoko allowed to leave France camp amid Spurs rumours|
|Valencia: Mourinho wants United thinking like champions|
|Rough and ready Antonio primed for England impact|
|Rafinha could face Barcelona exit|
|Klinsmann: I had no contact with FA|
|Malaga presidents wants Isco return|
|Griezmann must think before he speaks - Saul|
|Rooney: I decided to take corners instead of Kane at Euros|
|Benteke: My time at Liverpool was not a failure|
|Asensio: I had the chance to join Barca|
|Morata: I had five or six phone calls every day|
|Costa: I wanted to return to Atletico|
|Mascherano: It would have been ´a sin´ for Messi to stay in international retirement|
|Guardiola: No one plays better than Barcelona|
|Sigthorsson seals Galatasaray loan move|
|Griezmann urges France to forget Euro 2016|
|Konoplyanka joins Schalke on loan|
|Mustafi finalises Arsenal move|
|Chambers loaned to Middlesbrough by Arsenal|
|Ajax snap up Ziyech from Twente|
|Kenedy joins Watford on loan from Chelsea|
|Cuca backs ´golden boy´ Gabriel Jesus to take off at Man City|
|Aguero´s brother joins Cadiz on loan|
|Leicester made €30m bid for Adrien Silva, father reveals|
|Schweinsteiger feels ´deep gratitude´ for Germany career|
|Swansea complete deal for Barnsley defender Mawson|
|Perez delight at Arsenal signing|
|Inter complete Gabriel capture|
|Mariappa returns to Watford|
|Aguero charged over Reid elbow|
|Hart pictured with Torino shirt ahead of loan switch|
|Albrighton pens fresh Leicester deal|
|Hull seal club-record Mason swoop|
|Pjanic confident Juve debut is on the horizon|
|Lucescu confirms Juventus interest in Witsel after Everton snub|
|Messi trains ahead of Argentina return|
|Villa sign Kodjia in a deal worth up to £15m|
|Marshall leaves Cardiff and heads to Hull|
|Rosicky returns to Sparta Prague|
|Gnabry close to Werder Bremen switch|
|Arsenal complete Perez deal|
|Celtic sign Gamboa from West Brom|
|Remy joins Palace on season-long loan|
|Kante like a rat - Hazard|
|Rooney proud to break England outfield caps record|
|Rooney to quit international football after World Cup|
|Barcelona sign €30m Valencia striker Alcacer|
|Koke and Vazquez welcome Laporte to Spain fold|
|Schweinsteiger has no ´personal problems´ with Mourinho|
|Alcacer, Hart, Wilshere and the deadline-beating deals still to come|
|Antonio thought first England call-up was banter|
|Premier League a completely different market - Heidel|
|Lens completes Fenerbahce loan move|
|Pescara awarded points after Sassuolo field ineligible player|
|Lyon calm Lacazette injury fears|
|Bamford joins Burnley on loan|
|Van Basten to leave Netherlands´ backroom staff for FIFA role|
|Ventura perfect for Italy - Verratti|
|Martial needs to be more consistent - Deschamps|
|Verratti not happy at PSG - Ventura|
|Ventura: I´ll probably manage Chelsea when Conte leaves|
|Bartomeu: Barca discussing new contract with Messi|
|Bauza: No doubts over Messi motivation|
|Schmeichel targets quick return after surgery|
|Giovinco to help aid earthquake victims in Italy|
|Ancelotti backs Madrid for LaLiga and Ronaldo to be top goalscorer|
|Gomes: Portugal can deal with Ronaldo absence|
|Sterling reveals Guardiola impact|
|Fiorentina deny approach for Chelsea target Alonso|