Tagliafico went on the score a 95th-minute equaliser for Ajax to claim a 3-3 draw. Both teams had already confirmed their qualification from Group E before the match. Bayern finished as group winners, with both teams each going unbeaten over their six games.

Thomas Muller was sent off with 15 minutes remaining in Bayern Munich's game against Ajax.

Muller, 29, has only scored four goals in 16 Bundesliga appearances this season, and has not found the net in Europe since he scored a brace against Besiktas in February last year.

Bayern will travel to Anfield for the first leg against Liverpool on Feb. 19, with the Premier League leaders coming to the Allianz Arena on March 13.