Burnley have their Premier League safety in their own hands after securing a draw against Aston Villa.
The 1-1 draw at Villa Park means that Burnley moved out of the relegation zone ahead of the final day of games on Sunday.
A penalty by Ashley Barnes and superb saves by keeper Nick Pope earned Mike Jackson’s side a crucial point in their battle to survive as they climbed to 17th in the table on 35 points.
It was Villa that threatened to open the scoring first.
John McGinn’s curling shot from the edge of the box in the 17th minute was expertly clawed away by Nick Pope.
Barnes put Burnley ahead just before half-time, sending Villa keeper Emiliano Martinez the wrong way with a low penalty into the corner.
The visitors, however, did not lead for long as Buendia made up for conceding the penalty when he equalized in the 48th minute with a shot from inside the box.
Martinez matched Pope in saves by keeping out fine strikes from Josh Brownhill and Connor Roberts five minutes from time.
Villa then dominated the closing stages and in stoppage time Pope had to do well to keep out Danny Ings, who had scored on each of his four previous Premier League appearances against Burnley.
A home win over Newcastle United on Sunday would ensure Burnley avoids the drop regardless of what 18th-placed Leeds United does at Brentford.
The two sides are level on points but Burnley has a vastly superior goal difference.
Villa, who have won only two of their last 10 Premier League games, remained 14th in the table.