Valenciennes have beaten relegation rivals Ajaccio 3-1 at Stade Francois Coty to move off the bottom of Ligue 1.
The visitors took the lead in the 25th minute through Gregory Pujol, but the Corisican side were level seven minutes later when Rudy Mater turned the ball into his own net
It stayed that way until the 61st minute when Mathieu Dossevi capped a fast break with a header into the bottom corner from Pujol's supply.
The 33-year-old striker grabbed his second of the game two minutes into injury time, which condemns their opponents to their fifth game without a win.