Milan revived their Champions League hopes with a 2-1 win over Bologna on Monday as tempers flared with three players sent off and a bust-up between French midfielder Tiemoue Bakayoko and coach Gennaro Gattuso on the sidelines.
Gattuso's side move back into fifth place -- three points behind Atalanta who occupy the final Champions League berth -- with three games left to play this season.
Milan had dropped out of the European places after a draw against Parma and loss to Torino but now move level on points with Roma who are sixth.
Champions Juventus and second-placed Napoli are already assured of Champions League football next season but the battle for the final two berths remains tight with Inter Milan on 63 points, followed by Atalanta (62), AC Milan (59), Roma (59) and Torino (57).
Spanish winger Suso opened for Milan on 37 minutes with the game springing to life in the second half with Fabio Borini tapping in the second on 67 minutes.
Bologna's Mattia Destro pulled one back on 72 minutes, with Milan playing the final quarter of an hour a man down after midfielder Lucas Paquetá was sent off for arguing with the referee.
In a nervy finale Bologna finished the game with nine men with Nicola Sansone and Mitchell Dijks both sent off late.
There was also pitchside drama early when Argentine midfielder Lucas Biglia picked up an injury 25 minutes into the game at the San Siro with the Milan coach asking on-loan Chelsea player Bakayoko to start warming up.
Bakayoko -- on the bench after arriving late for training -- started to warm up without enthusiasm to the fury of Gattuso who instead asked another substitute José Mauri to come on.
Gattuso and Bakayoko were caught on camera exchanging insults with the French player saying twice "Fuck off, man" and the coach replying "I'll see you later".
Bakayoko joined the club on loan from Chelsea last summer with an option to buy but has been the subject of racist chanting this season several times notably from Lazio supporters.