Burnley fought back to boost their bid for Premier League survival as Ashley Westwood's late goal clinched a 2-1 win over Leicester on Sunday.
Sean Dyche's side trailed to a first half goal from Burnley-born Harvey Barnes at Turf Moor.
But Chris Wood equalised after half-time before Burnley keeper Nick Pope saved a penalty from Jamie Vardy.
Burnley's impressive revival was completed 11 minutes from full-time when Westwood fired home to end their run of four successive league defeats and move them five points clear of the bottom three.
It was the perfect way to mark Dyche's 300th game as Burnley boss after seven defeats from their previous nine games had plunged them into the relegation battle.
Leicester's surprise home defeat against Southampton last weekend knocked them out of second place and this was another setback for Brendan Rodgers' suddenly spluttering team.
The Foxes remain third despite a fourth loss in their last six league matches
Leicester's cause wasn't helped by the absence of rested England left-back Ben Chilwell amid talk of a potential move to Chelsea during the January transfer window.
Within the first minute, a simple long ball headed on by Vardy unhinged the Burnley defence and Barnes cut inside to test Pope.
Burnley's effort couldn't be faulted but at first they lacked composure and quality in the final third.
Westwood found Wood in space but his low strike drifted wide, then Jay Rodriguez shot straight at Kasper Schmeichel from long-range.
Leicester deservedly took the lead in the 33rd minute.
With Burnley appealing in vain for a foul by Dennis Praet on Jack Cork, Leicester stole possession and Barnes raced into the penalty area.
Vardy cleverly made a run that distracted James Tarkowski and Barnes stepped past Ben Mee to drill a cool finish under Pope for his third goal of the season.
Wood couldn't finish off Cork's tempting cross as Burnley failed to score a first half goal in 11 successive league games.
Vardy nearly doubled Leicester's lead soon after the interval with a stinging strike following a vibrant attack from the visitors.
But Burnley kept plugging away and Wood headed over from a good position six yards out.
It was a warning Leicester failed to heed and New Zealand striker Wood made them pay in the 56th minute when he tapped in his ninth league goal of the season after Schmeichel pushed Mee's header into his path.
Rodgers' side had a golden opportunity to retake the lead when Mee's foul on Barnes gave them a penalty.
Vardy stepped up to take it after a lengthy VAR check, but Pope dived to his left to make a fine save.
Pope stood tall to deny Vardy again when Leicester's leading scorer broke through on goal.
Vardy's misses proved fatal as Burnley won it in the 79th minute.
Charlie Taylor's cross wasn't cleared by Jonny Evans and Westwood pounced with a close-range finish that left Leicester shell-shocked.