Samuel Kalu came off the bench and scored his first league goal of the season as Girondis Bordeaux went down 2-1 to Lens at the Stade Bollaert-Delelis.
Kalu was left out of the starting XI by manager Jean-Louis Gasset in their fourth Ligue 1 game of the season.
Bordeaux has gone into the game on the back of their three undefeated streak.
But a spirited Lens broke the deadlock in the 47th minute after both teams had played goalless in the first half.
Camerounian forward Ignatius Kpene scored the opening goal for Lens.
In the 59th minute, Gael Kakuta doubled Lens lead from the spot
Cameroon forward Ignatius Kpene Ganago opened scoring for the home team two minutes after the break.
Bordeaux were then reduced to 10-men after Paul Baysse was shown a res card by the referee for a tackle and awarded a penalty.
Gael Kakuta stepped up and converted from the spot kick to make it 2-0
Gasset made three changes bringing in Kalu for Remi Oudin and Josh Maja also came in for Nicholas de Preville.
Kalu and his teammates struggled to score but to no avail until added time.
With one minute left in added time, Yacine Adli crossed a ball which Kalu headed inside to net to give his side a consolation.
The game ended 2-1 with Bordeaux tasting their first defeat after two draws and one win from their previous games of the new campaign.