Rennes missed the chance to move into second place in the French league and the automatic Champions League spot after losing at home to Monaco 3-2 on Friday.

Third-placed Rennes would have been second on goal difference if it won. But the Brittany side's defeat meant Marseille can move six points clear in second with victory at runaway league leader Paris Saint-Germain on Sunday.

Monaco is creeping into contention for the European places and moved into fourth spot - which earns a place in the Europa League - after a fourth straight league win. Monaco was only three points behind Rennes.

Monaco's Wissam Ben Yedder celebrates with teammates after scoring his side's second goal during the League One soccer match between Rennes and Monaco, at the Roazhon Park stadium in Rennes, France, Friday, April 15, 2022. (AP PhotoJeremias Gonzalez)

Monaco's Wissam Ben Yedder celebrates with teammates after scoring his side's second goal during the League One soccer match between Rennes and Monaco, at the Roazhon Park stadium in Rennes, France, Friday, April 15, 2022. (AP PhotoJeremias Gonzalez)

Midfielder Flavien Tait gave Rennes the ideal start after three minutes when he headed in a cross from right back Hamari Traore.

Hardly surprising, perhaps, given that Rennes has scored nine times in the first 15 minutes this season — more than any other team.

Monaco's comeback began when Brazilian Vanderson equalized in the 12th. He met fellow midfielder Aleksandr Golovin's fine pass and shot confidently past 19-year-old Turkish goalkeeper Dogan Alemdar.

Rennes' Martin Terrier runs with the ball after scoring his side's second goal during the League One soccer match between Rennes and Monaco, at the Roazhon Park stadium in Rennes, France, Friday, April 15, 2022. (AP PhotoJeremias Gonzalez)

Rennes' Martin Terrier runs with the ball after scoring his side's second goal during the League One soccer match between Rennes and Monaco, at the Roazhon Park stadium in Rennes, France, Friday, April 15, 2022. (AP PhotoJeremias Gonzalez)

France forward Wissam Ben Yedder then grabbed his 19th league goal when he latched onto strike partner Kevin Volland's header from near the halfway line and sprinted clear to finish with aplomb.

Vanderson turned provider for Netherlands striker Myron Boadu in the 77th.

Rennes striker Martin Terrier's injury-time penalty was a consolation, but moved him level with Ben Yedder on 19 and one behind top scorer Kylian Mbappe of PSG.

Monaco's Myron Boadu scores his side's third goal during the League One soccer match between Rennes and Monaco, at the Roazhon Park stadium in Rennes, France, Friday, April 15, 2022. (AP PhotoJeremias Gonzalez)

Monaco's Myron Boadu scores his side's third goal during the League One soccer match between Rennes and Monaco, at the Roazhon Park stadium in Rennes, France, Friday, April 15, 2022. (AP PhotoJeremias Gonzalez)

PSG is 12 points clear at the top.

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

Monaco's Kevin Volland, left, duels for the ball with Rennes' Lovro Majer during the League One soccer match between Rennes and Monaco, at the Roazhon Park stadium in Rennes, France, Friday, April 15, 2022. (AP PhotoJeremias Gonzalez)

Monaco's Kevin Volland, left, duels for the ball with Rennes' Lovro Majer during the League One soccer match between Rennes and Monaco, at the Roazhon Park stadium in Rennes, France, Friday, April 15, 2022. (AP PhotoJeremias Gonzalez)