Andy King's 86th-minute winner earned a vital 2-1 victory for Premier League struggler Leicester City against West Ham.
Substitute Andy King breathed new life into Leicester City's Premier League survival bid as his dramatic late goal secured a 2-1 win over West Ham.
The hosts earned their first league victory since January to move to within four points of safety, with Esteban Cambiasso's superb volley having initially put them ahead at the King Power Stadium.
David Nugent missed the chance to double the advantage three minutes later when he saw a penalty saved by Adrian after Leonardo Ulloa was felled by Carl Jenkinson in the area.
It appeared as though that would prove costly as West Ham deservedly leveled before the break through a well taken half-volley from Cheikhou Kouyate.
However, Leicester was the better side after the break and earned a crucial three points when King, who had only been on the pitch seven minutes, scored from close range in the 86th minute.
Cambiasso — who boasts UEFA Champions League, La Liga and Serie A winners' medals — stated that keeping Leicester in the Premier League would mean as much as winning a trophy, and Nigel Pearson's men are now just four points adrift of 17th-place Sunderland with eight games remaining.
Sam Allardyce's West Ham, which remains in the top half, started sluggishly and the game burst into life in the 12th minute as Leicester deservedly took the lead.
Nugent combined with Ulloa before the ball cannoned off James Collins and sat up perfectly for Cambiasso, who guided a superb left-footed volley in to the bottom right-hand corner from 25 yards.
The hosts, who brought in Riyad Mahrez for Matthew Upson, had a great chance to go two up when Jenkinson was penalized for a clumsy sliding challenge on Ulloa in the penalty area. However, Nugent fluffed his lines from 12 yards as Adrian flung himself low to the left to make the save.
West Ham, who welcomed Winston Reid back from a hamstring injury in place of Matt Jarvis, grew into the match and Kevin Nolan was guilty of missing a free header from 8 yards.
The pressure told in the 32nd minute when Alex Song's exquisite chipped pass was too high for Jeffrey Schlupp and Kouyate controlled the ball on the right of the area before finishing emphatically into the far corner.
Leicester started well after the break and Schlupp should have done more to test Adrian on the hour mark when he slashed wildly wide after being teed up by Nugent.
West Ham was on the back foot and Jamie Vardy headed wide from 8 yards when Ritchie De Laet's long throw was flicked on by Ulloa, before the forward fired a left-foot shot from the edge of the penalty area wide.
Leicester was nearly made to pay for its profligacy as Kouyate's low effort from an acute angle rebounded off the woodwork.
Both teams had chances to win it in a frantic ending and substitute Andrej Kramaric had a shot cleared off the line before Leicester made the breakthrough.
West Ham failed to deal with a goalmouth scramble and King got the final touch to send the ball over the line — much to the delight of the home faithful.