Maxwel Cornet scored a late winner to earn Burnley a vital win over fellow strugglers Everton in their bid to remain in the Premier League.
The Ivorian capitalised upon two poor errors by Jordan Pickford and Ben Godfrey in the 85th minute to earn Sean Dyche's side only their fourth league win of the season.
It lifted them to within one point of safety behind Frank Lampard's fourth-bottom side.
In an entertaining and feisty encounter, the hosts took a 12th-minute lead when an unmarked Nathan Collins scored at the back post from a corner.
But the advantage did not last long as Richarlison stroked home the first of two penalties in the 18th minute when Ashley Westwood was adjudged to have tripped Anthony Gordon.