Jermaine Beckford scored twice as Leicester came from behind to beat Birmingham City and prevent them moving back into Championship play-off spots.
A penalty from Wade Elliott had given the visitors a first-half lead.
Beckford equalised before the break and Jeffrey Schlupp gave the Foxes the lead with 10 minutes left.
Beckford then made sure of the points with his 11th goal of the season with the last kick of the match to move Leicester six points off the top six.
The visitors, now without a league win in four games, had sniffed a change of fortune when they were awarded a spot-kick after Tom Kennedy and Sol Bamba were penalised for pushing Blues striker Nikola Zigic in the area.
Elliott, who had already gone close to opening the scoring, beat Kasper Schmeichel from the spot.
Zigic might have doubled Birmingham's lead - hitting the woodwork - before Beckford brought the scores level with his first of the night, tapping home a Kennedy cross from close range.
Elliott and Chris Burke also had chances for the visitors while Beckford struck the post for the Foxes.
Schlupp gave the home side the lead with 10 minutes remaining when he raced onto a through-ball from Kennedy.
Beckford completed the scoring, haring clear of Pablo Ibanez and calmly beating Boaz Myhill.
Leicester boss Nigel Pearson: "The plot thickens as, again, there'll be some strange results in weeks to come so although we've had some frustrating times along the length and breadth of the country, I'm sure there will be sets of players, managers and fans feeling very similar.
"We've got to concentrate on ourselves and certainly if our performance levels are in keeping with tonight and our ability to deal with disappointment like we had to tonight then we've still got a real fighting chance, that's the most important thing."
Birmingham manager Chris Hughton: "We've got a group of players who for such a big part of the season have been so good.
"We're going through a difficult period at the moment, which every team will do at some stage in the season."