Kylian Mbappe celebrated a new-three year deal to stay at Paris Saint-Germain with a hat trick for the French champions against struggling Metz on Saturday, taking his league-leading tally to 28 and his PSG total to 171.
By this time next season, he may well pass Edinson Cavani's club record of 200 goals.
Elsewhere, there were euphoric scenes for PSG's bitter rival Marseille after it routed Strasbourg 4-0 to secure second place and automatic entry into the Champions League.
Marseille finished two points ahead of third-placed Monaco, which enters the Champions League qualifying rounds after its nine-match winning run ended with a 2-2 draw at Lens.
Monaco was 2-1 up, thanks to Wissam Ben Yedder's 25th league goal, with Marseille needing to win 5-0 to overtake on goal difference. Marseille scored deep into injury time for 4-0 and had two minutes left to get a fifth.
But suddenly the chase was over.
Lens equalized in the sixth minute of stoppage time to send Marseille coach Jorge Sampaoli wild. Midfielder Matteo Guendouzi jumped into his arms as the whole Stade Velodrome went into raptures.
In Paris, Mbappe stole the show while one of his trusted teammates signed off in style.
Angel Di Maria, who is leaving the club after seven seasons, set up Mbappe's first in the 25th minute with his club record-extending 112th assist. Lionel Messi set up Mbappe's second goal three minutes later.
Neymar made it 3-0 in the 32nd, Mbappe netted in the 50th, and Di Maria scored his 92nd and last PSG goal.
There will be many more for Mbappe, who confounded expectations by turning down the chance to join Real Madrid.
"I would like to announce that I have chosen to extend my contract and of course I am delighted," Mbappe said. "I am convinced that I can continue to grow."
Rennes also equalized deep into injury time at Lille to make it 2-2 and take fourth place - and Europa League qualification - away from Nice on goal difference. Nice rallied from 2-0 down to win at Reims 3-2 thanks to striker Andy Delort's seven-minute hat trick late in the game.
United States forward Timothy Weah, the son of Liberia president and former Ballon d'Or winner George Weah, scored both goals for Lille.
Veteran winger Romain Hamouma's 79th-minute goal earned a 1-1 draw at Nantes to push Saint-Etienne into 18th place and the promotion-relegation playoff - at least a shot at staying up.
PSG sent Metz down along with Bordeaux, which showed some pride in winning at Brest 4-2 but conceded 91 goals in a terrible season for the six-time champion.
Elsewhere, it was: Angers 2, Montpellier 0; Lorient 1, Troyes 1, and Lyon 2, Clermont 1, with Moussa Dembele grabbing his 21st league goal for Lyon.
More AP soccer: https://apnews.com/Soccer and https://twitter.com/AP_Sports