Nick Pope was in inspired form as Burnley drew 1-1 with Aston Villa, taking them out of the relegation zone and above Leeds United on goal difference ahead of the final day of the season.
Pope produced two fine saves to deny Villa midfielder John McGinn before Burnley took the lead on the stroke of half-time.
After Emiliano Buendia had tripped Maxwel Cornet, Ashley Barnes scored his first goal of the season from the penalty spot.
Their lead did not last long as Buendia atoned for his earlier error with a volley three minutes after the restart.
Pope then thwarted Ollie Watkins, Bertrand Traore and Matty Cash before Matt Lowton was dismissed as the match entered stoppage time, but the Clarets held on for a vital point.
Burnley and Leeds both have 35 points, but the Clarets' -18 goal difference is superior to Jesse Marsch's team's -38.
Villa remain 14th with 45 points from 37 matches.
See: Aston Villa report | Burnley report
Next fixtures
Aston Villa: 22 May v Man City (A)
Burnley: 22 May v Newcastle (H)
Match officials
Referee: Paul Tierney. Assistants: Lee Betts, Simon Long. Fourth official: Craig Pawson. VAR: John Brooks. Assistant VAR: Sian Massey-Ellis.
WHO'S GOING TO BE YOUR
MAN OF THE MATCH?
Vote at Full-time