Alfie Harrison's 92nd-minute screamer ended Dundee's rotten Scottish Premiership run and downed high-flying Falkirk.
Steven Pressley's side had suffered five losses on the spin, including an 8-0 hammering by Hearts, and were in dire need of some magic to arrest their freefall.
Cue 21-year-old Harrison, a former Manchester City and Newcastle youngster who had joined in October amid Dundee's injury crisis, signing a short-term deal until January.
He has not started a senior game, but with just a minute remaining on the clock the midfielder drilled in an absolute rocket from 20 yards to send Dens Park delirious.
It was probably what Dundee deserved. The hosts dominated the second half and Falkirk struggled to create with so many key players out injured - although they did hit the post before the interval through Ben Parkinson.
Dundee also hit the woodwork through Ashley Hay and had a first-half Ryan Finnigan goal chalked off for offside in the build-up.
Pre-game, Pressley said the only way to turn round their fortunes was to win and his men duly delivered, lifting themselves to seventh and three points clear of the clump of sides on 17 points. Falkirk remain fourth.