Burnley have claimed their third home win of the season by defeating Everton 2-1 at Turf Moor, courtesy of a Scott Arfield strike in the final minute of the game.
The visitors dominated the contest's best chances but struggled to find a way past Tom Heaton for large parts, before being made to pay by Arfield late on.
Yannick Bolasie had earlier cancelled out Sam Vokes's opener in Lancashire to leave Everton on the brink of a third successive 1-1 draw but, completely against the run of play, Burnley won all three points from a rare shot on target.
Heaton, the division's most tested keeper in terms of saves made heading into this weekend, must have been fearing the worst when he was called into action less than two minutes into the game.
A breakdown in communication at the back allowed Kevin Mirallas, back in the starting lineup alongside Ross Barkley today, to blast away a shot which Heaton managed to turn aside.
Everton were seeing plenty of the ball and getting in behind their opponents' backline on a regular basis, but their early efforts almost came undone when Michael Kightly fired over an awkward attempt from a rare Burnley attack.
It was then time for Heaton to keep his side in the match, producing two more fine saves to frustrate the Toffees - keeping out Romelu Lukaku's long-range drive and Barkley's powerful shot from inside the box.
Those Everton openings all arrived with with less than a quarter of the match played, and they then struggled to really create any more opportunities in the half as Burnley grew more and more into things.
Vokes was the first to test Maarten Stekelenburg with a tame attempt from the edge of the box, but his next shot would make a far more telling difference on the game.
A fine flick from Johann Berg Gudmundsson in midfield allowed Arfield to drive at the visitors' backline, before firing away a weak shot that appeared to be heading wide of the goal.
Stekelenburg was willing to take no chances and pushed the ball right into the path of Vokes, who had the simple task of tapping in his third goal of the season.
It took until the opening stages of the second half for Ronald Koeman's charges to find their rhythm, but they were still being restricted to shots from range - Barkley again testing Heaton down low from 20 yards.
The Everton pressure was continuing to mount and, just short of an hour into the match, they were finally level thanks to Bolasie's first goal since his summer move from Crystal Palace.
Gareth Barry started the move from deep, picking out Lukaku who was looking to peel off his man, but Bolasie incredibly took the ball off his more prolific teammate and used his pace well over the final few yards before putting his boot through the ball and finding the net.
Koeman's men continued to dominate the ball in the attacking third, with Bolasie in particular proving a threat as he sent in two wicked deliveries which required key interventions to help aside.
Gueye was the next player to test Heaton from range, sending the ball right down the middle with 10 minutes left on the clock, but there was a bigger save to come moments later when the Englishman tipped over Bolasie's drive.
Burnley have already conceded three late goals here this season to cost them key points, but Arfield proved to be the hero at the death to lift the Clarets further clear of the drop zone after Gudmundsson's shot cannoned back off the crossbar and into his path.
There was still plenty for Arfield to do, as he superbly found the net under pressure to deny Everton the chance of breaking into the division's top four.