Bayern Munich finished the Champions League group stage as the only team to win all its matches after beating Tottenham 3-1 in a game between two already-qualified sides on Wednesday.

Two-and-a-half months after getting thrashed 7-2 by Bayern in London, Tottenham at least managed to keep the scoreline respectable as recently hired manager Jose Mourinho fielded a weakened lineup with his team guaranteed second place.

Kingsley Coman and Thomas Müller scored for Bayern in the first half, either side of a first goal for Tottenham by offseason signing Ryan Sessegnon.

Bayern's Thiago, left, collides with Tottenham's Danny Rose during the Champions League group B soccer match between Bayern Munich and Tottenham Hotspur at the Allianz Arena stadium, in Munich, Wednesday, Dec. 11, 2019. (AP PhotoMatthias Schrader)

Bayern's Thiago, left, collides with Tottenham's Danny Rose during the Champions League group B soccer match between Bayern Munich and Tottenham Hotspur at the Allianz Arena stadium, in Munich, Wednesday, Dec. 11, 2019. (AP PhotoMatthias Schrader)

Philippe Coutinho, who struck the crossbar with a long-range effort in the first half, curled home a third goal in the 64th minute to clinch a sixth straight win in Group B for Bayern, whose poor recent form in the Bundesliga has seen Germany's biggest team slip to seventh place.

It is the first time Bayern has ended the group stage with maximum points. Real Madrid was the last team to achieve that feat, in the 2014-15 season.

The only negative for Bayern was the sight of Coman being forced off in pain after landing awkwardly on his left leg as he tried to keep the ball in play by the touchline just before halftime.

Bayern's Thomas Mueller, 2nd right, celebrates with teammates after scoring his sides second goal during the Champions League group B soccer match between Bayern Munich and Tottenham Hotspur at the Allianz Arena stadium, in Munich, Wednesday, Dec. 11, 2019. (AP PhotoMatthias Schrader)

Bayern's Thomas Mueller, 2nd right, celebrates with teammates after scoring his sides second goal during the Champions League group B soccer match between Bayern Munich and Tottenham Hotspur at the Allianz Arena stadium, in Munich, Wednesday, Dec. 11, 2019. (AP PhotoMatthias Schrader)

It was a second loss in six games for Mourinho in all competitions since he took charge as the replacement for Mauricio Pochettino, but he showed where his priorities lay by resting star players including Harry Kane, Dele Alli and Heung-min Son amid a grueling fixture load.

Coman put Bayern in front with a calm finish into the bottom corner in the 14th minute after receiving a pass from Serge Gnabry, who was another player to hit the goal frame in the first half as Bayern poured forward.

Sessegnon started for the first time since joining from Fulham — he had previously made three appearances as a substitute — and marked the occasion by driving home a fierce shot inside Manuel Neuer's near post after a pass was deflected into his path by Jerome Boateng.

Tottenham's goalkeeper Paulo Gazzaniga, 2nd right, shouts at his players after Bayern's Thomas Mueller scored his teams second goal during the Champions League group B soccer match between Bayern Munich and Tottenham Hotspur at the Allianz Arena stadium, in Munich, Wednesday, Dec. 11, 2019. (AP PhotoMatthias Schrader)

Tottenham's goalkeeper Paulo Gazzaniga, 2nd right, shouts at his players after Bayern's Thomas Mueller scored his teams second goal during the Champions League group B soccer match between Bayern Munich and Tottenham Hotspur at the Allianz Arena stadium, in Munich, Wednesday, Dec. 11, 2019. (AP PhotoMatthias Schrader)

Müller came on as a substitute for Coman and had a quick impact, forcing the ball home from close range in the 45th after the ball had rebounded off the post from Alphonso Davies' shot.

The second half was more low-key but illuminated by Coutinho's goal from the edge of the area.

Robert Lewandowski was an unused substitute for Bayern.

More AP soccer: https://apnews.com/Soccer and https://twitter.com/AP_Sports