Back-up centre-back Connor Allan scored a stunning 90th-minute goal on his first Falkirk start to complete a brilliant turanround against Dundee and hand his side a first home Scottish Premiership win of the season.
The former Rangers youth player was called up amid a raft of injuries in John McGlynn's defence and delivered the decisive moment.
Allan strode from near the halfway line into the box, cut inside one defender, rolled the ball with his studs and stroked the ball with the outside of his boot into the far corner.
It sent the home fans absolutely wild as they went on to celebrate a first top-flight win at home since 2010 after the game completely changed after the break.
Clark Robertson had headed Dundee in front from a corner, as he had done in the club's first win over Celtic for 24 years last Sunday, but Steven Pressley's side failed to build on that momentum.
The energy shifted early in the second half when Dundee goalkeeper Jon McCracken played a loose pass out from his goal which ended with Calvin Miller hitting the bar.
From that moment on Falkirk looked energised and Dundee were spooked such that the equaliser felt inevitable on 55 minutes.
A ball to the back post was smashed across goal and Robertson failed to adjust as he clattered the ball into his own net this time.
Ross MacIver hit the post and McCracken kept out efforts from Miller and Dylan Tait as Falkirk kept coming, before Allan's unexpected brilliance won the game and moved Falkirk up to fourth.
Dundee drop to 10th and will rue their second-half performance, but also a controversial moment going against them.
When they led 1-0 Ethan Hamilton appeared to be caught by Kyrell Wilson after winning the ball in the box.
However, the referee gave the free-kick to Falkirk and booked Hamilton.
Wilson had already been booked, so had video assistant Andrew Dallas felt differently Dundee would have had a penalty and probably a man advantage for the entire second half.
They got no such break, though, and slipped to a fifth defeat of the season.