Monaco have come from two goals down to snatch a 3-2 victory away at Montpellier HSC in Thursday's Ligue 1 clash at the Stade de la Mosson, the winner coming from the penalty spot in the fifth minute of injury time.
The visitors were quickest off the starting blocks, with a strike from Nabil Dirar going close in the first minute.
Montpellier striker Kevin Berigaud forced a save from Danijel Subasic nine minutes later, before the Croatian goalkeeper was called into action again soon after to block Mathieu Deplagne's cross.
Ivan Cavaleiro broke into space to set up Dirar for another attempt at goal, but the midfielder's effort was saved by Jonathan Ligali.
Montpellier drew first blood in the 26th minute when Ryad Boudebouz's corner was headed goalwards by Vitorino Hilton, and Subasic could only parry into the path of Daniel Congre, who duly fired home.
Rolland Courbis's side continued to push forward and doubled their lead just before the interval, when Guido Carrillo put a Boudebouz cross through his own net while under pressure from Bryan Dabo.
The visitors halved the deficit four minutes before the hour through Fabio Coentrao, who was in the right place at the right time to rifle a shot home from a corner.
Leonardo Jardim's charges began piling forward in a bid to seize the momentum and, nine minutes later, succeeded in drawing level when Thomas Lemar collected Dirar's cross and slotted past Ligali.
The hosts set about trying to shake off the disappointment of being pegged back and went on the attack, weighing in with a flurry of chances in the latter stages of the game.
However, their hopes of even claiming one point were dashed deep into injury time when Ligali's foul on Coentrao in the box prompted the referee to award Monaco a penalty.
Fabinho stepped up and, in the fifth minute of injury time, slotted a precise shot into the bottom-left corner to clinch all three points and leave Montpellier heartbroken.
The result sees the Languedoc-Roussillon side remain bottom of the Ligue 1 table with a solitary point from seven games, while Monaco edge into 10th place.