Alou Diarra's 82nd-minute winner sealed Marseille's first Ligue 1 away win of the season as they triumphed over Dijon.
Loic Remy scored for OM in the first minute before Benoit Cheyrou added a second soon after as the visitors enjoyed a flying start.
Dijon fought back though to draw level with second-half goals from Brice Jovial and Benjamin Corgnet but Diarra struck home in the closing stages to seal the points for Marseille.
The result means Didier Deschamps' side climbed into the top 10 while Dijon, who beat big-spending Paris St Germain in the cup in midweek, fell to 16th.
The game got off to a great start from a Marseille point of view when Charles Kabore released Remy with a long pass to allow the striker to fire the ball between Dijon goalkeeper Baptiste Reynet's legs to make it 1-0.
Cheyrou added Marseille's second nine minutes later when his stunning left-footed free-kick curled into the top corner of the goal.
OM had another great chance in the 17th minute when Rod Fanni raced down the right and picked out Jordan Ayew, who fired a shot towards goal.
Chaher Zarour cleared the effort but, from the resulting corner, Remy almost scored with a superb volley when the ball fell to him. This time however, Reynet was able to make the save.
Reynet denied Remy again with an excellent reflex stop on the half-hour mark as Marseille moved to half-time with a comfortable two-goal cushion.
However, Dijon hit back immediately after the break when OM defender Nicolas N'Koulou failed to clear the ball and it fell to Jovial who volleyed past a stunned Steve Mandanda from the edge of the box.
Thomas Guerbert's corner then set Corgnet up for Dijon's second 15 minutes later, when he picked out the striker at the near post, who headed it past Mandanda.
Remy then had another chance denied as Reynet saved his header, but Diarra succeeded in finding the back of the net eight minutes before the final whistle when he headed home Mathieu Valbuena's free-kick.