Karim Benzema’s two headers carried Real Madrid into the Champions League elimination stages with triumph over Borussia Monchengladbach, who also qualify for the last 16.
Inter Milan and Shakhtar Donetsk drew 0-0. Both sides required a win to qualify but they went out with the San Siro draw.
Benzema’s goals from Lucas Vazquez and Rodrygo passes put Real Madrid in control.
Real Madrid has reached the knockout rounds in all 25 of their Champions League matches and every season since 1996-1997 when they did not qualify for Europe.
Zinedine Zidane’s side has won four of the last seven Champions League titles. Inter have been eliminated in the Champions League group stage for a third consecutive season.
They had 20 shots but could not find a way through against their Ukrainian guests. Goalkeeper Samir Handanovic came up for an injury-time corner and Shakhtar broke down the other end but could not get a shooting chance into an unguarded goal.