At a glance
Damsgaard, Igor Thiago and Schade goals put Brentford in control
Kayode's own goal, Anthony and Flemming haul Burnley level
Damsgaard's stoppage-time strike puts Brentford 4-3 up
Burnley have last-gasp Barnes equaliser ruled out for handball by VAR
Relegation-threatened Burnley mounted a stirring comeback to overturn a 3-0 deficit, but were denied a remarkable point as Mikkel Damsgaard struck a dramatic 93rd‑minute winner to give Brentford a 4-3 victory at Turf Moor.
It looked like the visitors were heading for a comfortable win after goals from Damsgaard, Igor Thiago and Kevin Schade inside 34 minutes before Burnley dragged themselves back into the game.
Jaidon Anthony initiated the comeback as his driven cross was turned into his own goal by Michael Kayode in the dying seconds of the first half, before another strike from Anthony was helped on its way into the goal by Kayode less than two minutes after the restart.
Zian Flemming then restored parity for the second-from-bottom Clarets by powering a header past Brentford goalkeeper Hakon Valdimarsson in the 60th minute, turning the half-time boos from the Burnley supporters into a surge of renewed belief.
The hosts thought they had claimed all three points when Flemming, who scored late in the 1-1 draw against Chelsea last week, bundled home in the 78th minute only for the goal to be ruled out for offside by the video assistant referee (VAR).
But it was Damsgaard who made the all-important contribution in the game as he scored the stoppage-time winner from a Rico Henry cross.
There was a final twist in the tale as Ashley Barnes sent Turf Moor into raptures with a 99th-minute goal, only for it to be ruled out for an accidental handball by the Burnley striker in the build-up after a lengthy VAR check.
With the win, Keith Andrews' side strengthened their push for European football and sit seventh in the table with 43 points - only two less than Chelsea above them and five behind fifth-placed Liverpool - while Burnley remain 19th with 19 points.
'He cares so much about this team' - Damsgaard on Andrews
'Not fair to fans' - how VAR denied Burnley one of greatest comebacks
- Published28 February
'Manager of season contender' Andrews has Brentford dreaming of Europe
- Published28 February
Brentford analysis: Bees boost European push
Andrews would have preferred a more straightforward victory to celebrate signing his new Brentford contract this week.
But this hard-fought win had all the hallmarks of a side growing in confidence and belief under him.
The Irishman, promoted from set‑piece coach and doubted by many when he succeeded Thomas Frank at the start of the season, has steadily shaped this side in his image.
The Bees made a buzzing start against a Burnley side who had troubled Liverpool, Chelsea and Tottenham in recent weeks.
They were ahead inside nine minutes as Damsgaard arrived unmarked to head in a corner from Dango Ouattara before the Dane turned provider for Brentford's second in the 25th minute as Thiago latched on to his through pass to score his 18th league goal of the season.
It was soon 3-0 as Sepp van den Berg's header from another corner was cleared off the line by Lucas Pires only as far as Schade to score his seventh of the season.
Though they let the advantage slip, they showed fighting spirit in front of the vocal Burnley fans to have the final say through Damsgaard's second - a perfect response after their 2-0 home defeat by Brighton last weekend.
Andrews' side have now won five of their past six away fixtures in the league, and this victory keeps them firmly in the hunt for a top-seven finish and qualification for Europe for the first time.
'Far too much drama for my liking' - Andrews
Burnley analysis: No points but Clarets valiant
Burnley headed into this fixture with recent results offering them fresh hope of survival.
The thrilling comeback win against Crystal Palace and the point salvaged against 10-man Chelsea last week would have injected some belief back into a dressing room that has suffered many setbacks this season.
Though they were ultimately denied a precious point in the relegation battle by the visitors on Saturday, the fighting performance gave manager Scott Parker and his players more evidence that there is still some hope to cling on to.
They could find themselves 11 points off safety if 17th-placed Nottingham Forest win at Brighton on Sunday, but there were signs that the Clarets can still have their say in the relegation scrap.
Anthony was Burnley's most threatening player, twice going close from distance in the early stages before playing the starring role in an improbable comeback.
He struck his seventh goal of the season before Flemming matched that mark, adding to his late heroics at Stamford Bridge last weekend, while Hannibal Mejbri's energy in midfield set the tone for their fightback.
For all the disappointment of the manner of the defeat, Parker's team showed the character, courage and intensity that could give them a chance as they approach the run‑in.
'More sad than frustrated' - Parker
What's next for these teams?
Burnley will make the trip to Everton's Hill Dickinson Stadium in their next Premier League outing on Tuesday, 3 March (19:30 GMT).
Brentford travel to Bournemouth at the same time, before their FA Cup fifth-round tie at West Ham on Monday, 9 March (19:30).
Player of the match
After the opportunity to rate players has closed, the score displayed represents the average from all the submissions by BBC Sport users.