Ayoze Perez and Demarai Gray inched Leicester closer to a Champions League return after a deserved win over Sheffield United.
The pair clinched a 2-0 victory to ensure the Foxes will remain fourth heading into the final two Premier League games.
Leicester are certain not to finish lower than sixth, meaning they have booked a Europa League spot next season at the very least.
It also continued to point to a potential winner-takes-all showdown with fifth-placed Manchester United at the King Power Stadium on the final day.
Defeat, though, was a costly blow to Sheffield United’s dreams of a shock European spot.
It left them two points behind sixth-placed Wolves with two games left.
It could have been different had David McGoldrick not ballooned George Baldock’s cross over in the opening two minutes.
In their best half since the restart the Foxes rediscovered their fluency and they went ahead after 29 minutes.
England Under-19 international Luke Thomas impressed throughout and he found the unmarked Perez for the striker to fire a low effort beyond Blades keeper Dean Henderson from 15 yards.
It ended a 12-game goal drought and settled the Foxes who held off the Blades in the first half with relative ease.
The Blades were doing their best to be masters of their downfall and they were lucky to survive a host of Foxes chances.
Eventually, Leicester sealed the win with 11 minutes left.
Gray had been on the pitch for just three minutes after replacing Barnes but struck when Vardy broke clear to find the winger who drilled low into the corner.
Final score: Leicester City 2-0 Sheffield United