Maxwel Cornet scored five minutes before the end when Burnley defeated relegation rivals Everton 3-2 in a wip-lash at Turf Moor on Wednesday.
Victory saw Burnley stay in the relegation zone but come within a point of Everton.
Watch the world’s best soccer players every week with beIN SPORTS on Kayo. LIVE coverage of LaLiga, Bundesliga, Ligue 1, Serie A, Carabao Cup, EFL & SPFL. New to Kayo? Try now 14 days free >
Burnley took an early lead with Nathan Collins’ first goal for the club, but fell behind before half-time when Richarlison scored twice from the penalty spot.
Jay Rodriguez equalized in the 56th minute for Cornet’s first goal since his return from the Africa Cup of Nations in January, Burnley’s first win in six games.
It was also only the Clarets’ fourth win in 29 league games this season, with Burnley losing their last four games without scoring a goal.
The result meant that Everton had now suffered six direct defeats in the Premier League and faced the prospect of playing second-tier football for the first time in 68 years, with manager Frank Lampard’s dismay clearly visible at full-time.
Collins broke the deadlock with 12 minutes to go after another defensive error by Everton meant he hooked into a Cornet corner that several defenders had failed to clear.
Minutes later, however, Anthony Gordon was dragged to the ground by Ashley Westwood and Richarlison sent England goalkeeper Nick Pope the wrong way from the penalty spot.
Then, after Alex Iwobi’s pass split the Burnley defence, Vitaliy Mykolenko was stumbled into the penalty area and referee Mike Dean, at the urging of the VAR, awarded a second penalty which Richarlison duly converted.
Burnley equalized 11 minutes after the restart when Rodriguez turned in a cross that came through a crowd of players.
Pope then blocked Richarlison’s bicycle kick before Cornet became an increasing threat as rain fell over the ground.
The Ivory Coast international sealed the win 85 minutes into the game when another defensive blunder saw Ben Godfrey fail to complete a cross, allowing substitute Matej Vydra to drill a cross into Cornet’s path, who made no mistake.