Caen moved four points clear of the relegation zone as a solitary goal by Thomas Heurtaux guided them to a win over Lorient in Ligue 1.
Heurtaux struck midway though the second half with a spectacular shot from distance as they drew level on points with their visitors, who enjoy a slightly superior goal difference.
It gives Caen a bit of breathing space although Dijon, who occupy the final relegation spot, can reduce the deficit to one point with victory over Auxerre tomorrow.
The hosts attacked from the outset. Romain Hamouma went past Arnaud La Lan at pace down the right before finding M'Baye Niang in the six-yard box, whose instant snap-shot was somehow blocked by Lorient goalkeeper Florent Chaigneau on the goalline.
Hamouma was in the thick of everything and two minutes later attempted to lob Chaigneau from the right-hand side of the penalty area but the keeper managed to step back and retrieve the ball.
Lorient were indebted to Chaigneau when he thwarted Gregory Proment's 25-yard volley with the keeper called upon again when Kandia Traore also attempted a volley.
The visitors eventually had their first chance five minutes before half-time when Mathias Autret controlled Kevin Monnet-Paquet's flick and dribbled past Heurtaux before his low drive was blocked by keeper Alexis Thebaux.
Caen continued in the same vein after the break, Chaigneau going down to smother Traore's volley but he was helpless when the hosts went ahead in the 66th minute.
Heurtaux dispossessed Alaixys Romao 35 yards out before racing towards goal and unleashing a shot from 25 yards which went over the keeper but under the bar.
Lorient had a chance in injury time when Bruno Ecuele Manga shot from the edge of the box but his shot was smothered and Caen claimed a vital win.