Media caption,

AC Milan miss out on last-16 place with shock loss to Zagreb

AC Milan missed the chance to automatically secure a place in the last-16 of the Champions League by losing 2-1 to Dinamo Zagreb.

Dinamo started on the front foot knowing that anything but a victory would see them eliminated.

Martin Baturina gave the Croatian champions the lead when he pounced on a loose touch from Matteo Gabbia and slotted past Milan goalkeeper Mike Maignan.

Milan, already assured of a place in the next round but chasing a top-eight finish, were reduced to 10 men when Yunus Musah was shown a second yellow card for pulling back Luka Stojkovic at the edge of the penalty area.

Dinamo should have doubled their lead before half-time but Sandro Kulenovic side-footed wide with only Maignan to beat.

Stojkovic thought he had scored a second moments into the second half but play was pulled back for a handball in the build-up.

Milan went up the other end and equalised through Christian Pulisic, whose low strike squirmed under the hand of Dinamo goalkeeper Ivan Nevistic.

Dinamo regained the lead on the hour mark when Marko Pjaca rifled into the bottom far corner from a tight angle, and two minutes later a Milan penalty was chalked off as Rafael Leao fouled a defender before he was brought down by Nevistic.

Victory was not enough for Dinamo to reach the knock-out stages of the competition for the first time in their history, while defeat means Milan will enter the play-off round where they will face either Feyenoord or Serie A rivals Juventus.

Player of the match

Number: 10 Rafael Leão
Average rating 7.75
Number: 33 I. Nevistić
Average Rating: 5.83
Number: 10 M. Baturina
Average Rating: 5.40
Number: 13 S. Mmaee
Average Rating: 5.25
Number: 18 R. Pierre-Gabriel
Average Rating: 5.00
Number: 4 Raúl Torrente
Average Rating: 5.00
Number: 28 K. Théophile-Catherine
Average Rating: 5.00
Number: 19 J. Córdoba
Average Rating: 4.00
Number: 86 L. Jakirović
Average Rating: 4.00
Number: 22 S. Ristovski
Average Rating: 4.00
Number: 27 J. Mišić
Average Rating: 3.75
Number: 5 A. Ademi
Average Rating: 3.50
Number: 7 L. Stojković
Average Rating: 3.25
Number: 20 M. Pjaca
Average Rating: 3.00
Number: 17 S. Kulenović
Average Rating: 3.00
Number: 21 N. Mbuku
Average Rating: 3.00
Number: 30 M. Rog
Average Rating: 3.00

After the opportunity to rate players has closed, the score displayed represents the average from all the submissions by BBC Sport users.

Watch highlights of every Champions League game from 22:00 on Wednesday on BBC iPlayer and the BBC Sport website and app.

There will also be a Champions League Match of the Day on BBC One on Wednesday, from 22:40 to 00:00.