Karim Ait-Fana came off the bench to grab a dramatic injury-time winner and keep Montpellier in pole position in the Ligue 1 title race by beating Lille 1-0.
The hosts remain three points ahead of Paris St Germain although their goal difference is now identical. Montpellier will win their first Ligue 1 title if they can take a point from their final game of the season at already-relegated Auxerre.
Nene struck an 18-minute hat-trick to earn Paris St Germain a 3-0 victory over Rennes.
Nene opened the scoring in the 47th minute, added his second 11 minutes later and then completed his treble from the penalty spot in the 65th minute. PSG complete their campaign at Lorient.
Nene has been in rich goalscoring form of late for PSG and the treble took his tally to eight in his last six league games.
Auxerre's 32-year stay in the French top flight came to an end with a 3-0 defeat on the road at Marseille.
Goals by Rod Fanni, Cesar Azpilicueta and Andre-Pierre Gignac did the damage as Auxerre - French champions as recently as 1996 - became the first side to be relegated.
Marseille, who as Coupe de la Ligue winners have already qualified for the Europa League, are playing merely for pride at this stage of the season, and this win means they have now taken seven points from the last nine available since ending a 14-game winless streak.
Bruno Grougi scored a spectacular winner to give Brest a 2-1 win over Valenciennes and lift them out of the relegation zone on goal difference. The midfielder netted in the 40th minute, curling a 20-yard free-kick beyond Nicolas Penneteau.
Brest, who travel to face Evian on the final day of the season next Sunday, headed into the match without a win in five Ligue 1 games but climbed two places from 18th to 16th with their success. They, Caen and Ajaccio all stand on 38 points from 37 games, a point behind Sochaux, Lorient and Nice, and two behind Valenciennes.
Dijon remain firmly entrenched in the relegation zone after drawing 1-1 with Toulouse.
Abdoulaye Meite put the hosts in front with a close-range header in the 27th minute but Ahmed Soukouna levelled a minute before half-time. Koro Kone struck the post late on for Dijon, who remain in 19th place and go into next week's clash at Rennes.
Sochaux's hopes of avoiding the drop received another huge boost with a 3-1 victory at relegation rivals Caen.
The visitors led 2-0 at the break through goals from Sloan Privat and Loic Poujol but they needed a 90th-minute strike from Thierry Doubai to seal the points after Caen had pulled a goal back through Benjamin Nivet just before the hour.
Ajaccio slipped into the relegation zone after a dramatic second half at the Stade Francois Coty earned a 1-1 draw with Lyon.
Eduardo cancelled out an opener from Bafetimbi Gomis, while both teams had a player sent off. Ajaccio will face a tricky assignment at Toulouse on the final weekend of the Ligue 1 season, with their top-flight status now in severe peril.
Lyon were reduced to 10 men in the 50th minute as Yoann Gourcuff was dismissed following an off-the-ball incident involving Jean-Baptiste Pierazzi. Ajaccio then went a man down in the 90th minute, Anthony Lippini shown a straight red card after clashing with Alexandre Lacazette.
Lorient's survival fight will go down to the wire after falling to an injury-time 1-0 defeat at in-form Bordeaux.
Yoann Gouffran scored the only goal from the penalty spot after Jeremie Janot had clumsily fouled Cheikh Diabate, as Bordeaux continued their strong end to the season with a fifth straight win. The hosts secured the win despite the 86th-minute dismissal of Carlos Henrique for a second yellow.
Bordeaux finish against near rivals St Etienne, when they will hope to hold on to fifth place.
Nemanja Pejcinovic scored at both ends as Nice failed to make certain of safety after a 1-1 home draw with Evian - but only a remarkable series of results could now see them face the drop.
The visitors took the lead in the 13th minute when Cedric Barbosa caused problems, sending in a dangerous cross to the far post which struck Pejcinovic's knee and flew into the net past David Ospina.
Nice responded with the equaliser in the 34th minute and this time Pejcinovic made the difference at the right end, meeting Didier Digard's free-kick with a fine volley which crashed past Stephan Andersen.
Benjamin Moukandjo bagged a brace as Nancy claimed their first victory in six matches and ended St Etienne's slim hopes of finishing fourth, winning 3-2.
Cameroon striker Moukandjo put the hosts two goals to the good inside 21 minutes but Pierre-Emerick Aubameyang narrowed the deficit seven minutes before the interval.
Yohan Mollo extended Nancy's lead in the 42nd minute and although Laurent Batlles scored to once again narrow the deficit to just one goal, Les Chardons held on.
In fact, it was Nancy who came closest to adding a fourth but Andre Luiz fired over the crossbar from the penalty spot after Moukandjo was fouled by Sylvain Marchal in the area.