Igor Vetokele stepped off the bench to give promotion-chasing Charlton a last-gasp 2-1 victory at AFC Wimbledon.
Watford loanee Michael Folivi put the Dons ahead with his first goal for the club but Naby Sarr levelled with a stunning free-kick, just moments after his manager Lee Bowyer had been sent to the stands.
And Vetokele broke bottom-of-the-table Wimbledon's resistance in the 91st minute to give the Addicks a first win in five games.
The Dons opened the scoring after 24 minutes from a free-kick in their own half which was pumped long into the box, where Terell Thomas latched onto Anthony Hartigan's ball and drilled in a low cross that Folivi stabbed in from close range.
A pulsating second half was ignited when Bowyer was sent to the stands for arguing with the referee and Sarr then curled a 51st-minute free-kick over the wall into the top left corner.
Joe Aribo flashed a 30-yard effort just wide and Josh Cullen forced Aaron Ramsdale into a sharp save but the Addicks' pressure paid off in injury time when Ramsdale saved brilliantly from Aribo but Vetokele bundled in the rebound.