Atalanta grabbed a stoppage-time equaliser in this very ill-tempered affair, meaning Milan are in the Europa League, but not yet sure of sixth.
60': Franck Kessié (Milan) right footed shot from outside the box to the bottom left corner.
64': Rafael Toloi (Atalanta) is shown the yellow card for a bad foul.
64': Second yellow card to Rafael Toloi (Atalanta).
75': Riccardo Montolivo (Milan) is shown the red card.
90'+2': Andrea Masiello (Atalanta) header from the centre of the box to the bottom left corner. Assisted by Josip Ilicic with a cross.