A dramatic late double strike earned Rennes a 3-1 victory at Evian to boost their European bid.
The hosts led at half-time through Jerome Leroy's exquisite lob, but Youssouf Hadji equalised two minutes after the interval.
Aldo Angoula's own goal then put Rennes ahead with two minutes remaining and Mevlut Erding's injury-time goal put the seal on victory.
Both teams had early chances, Thomas Kahlenberg shooting over for Evian before Yacine Brahimi's effort at the other end was deflected wide.
Yann M'Vila curled a 30-yard free-kick inches over for Rennes before Benoit Costil saved Angoula's header from a Kahlenberg set-piece.
But Evian broke through in the 34th minute when Saber Khelifa crossed from the right and Leroy chested the ball down before arcing his shot perfectly over Costil.
But Hadji restored parity immediately after half-time, volleying home Romain Danze's cross from close range.
Brahimi's drive drew a two-handed parry from Stephan Andersen but it was Evian who then took the initiative once more.
Costil stood firm though, punching away Khelifa's shot before saving another Angoula header.
Danie Wass almost put the home side ahead with three minutes remaining but again Costil was equal to the shot.
And the keeper was rewarded when his side swept straight up the other end to score. Pitroipa slalomed through the defence to curl the ball beyond Andersen and Angoula, attempting to clear at the far post, could only turn the ball into the net.
There was still time for another, Julien Feret playing in Erding who dribbled past Cedric Mongongu and beat Andersen with a powerful shot.