Kelechi Iheanacho sent Leicester into the FA Cup quarter-finals after his last-gasp winner beat Brighton 1-0.
The substitute squeezed the Foxes through their fifth-round tie with extra time looming.
Victory came at a price though after James Justin was carried off in the second half with a knee problem when he landed awkwardly.
It was harsh on Brighton, the better side for long spells, but they failed to find the killer touch when on top.
Corner taken quickly...
Iheanachoooo ?#EmiratesFACup @LCFC pic.twitter.com/lg8PouEUJB— Emirates FA Cup (@EmiratesFACup) February 10, 2021
It was a forgettable game until the late drama and Jamie Vardy’s effort looped comfortably wide after hitting Lewis Dunk while Adam Lallana shot over in the best chances of a dull first half.
The Seagulls controlled possession but their patient build-up lacked the final pass.
Graham Potter’s side lost their Premier League clash 3-0 at the King Power Stadium in December yet forced Leicester to retreat and Andi Zeqiri’s ambitious overhead kick flew over five minutes before the break.
There was also little for referee Mike Dean to deal with after his disturbing week.
The official was back on duty after he and his family received death threats and abusive messages following his dismissals of Southampton defender Jan Bednarek and West Ham midfielder Tomas Soucek.
Both decisions were overturned and Dean had a low-key game, booking Ayoze Perez for a high tackle on Pascal Gross his biggest call.
The lull continued after the break and Vardy was withdrawn after an hour for Iheanacho while James Maddison also replaced the ineffective Perez.
In a rare opening Zeqiri did at least have the ball in the net after 65 minutes after a cute finish but was rightly ruled offside.
Two minutes later Cengiz Under also had a goal disallowed – sparing Dan Burn’s blushes when he lost the ball in the area – as Iheanacho was offside in the build-up.
Zeqiri curled wide soon after, following the slip from Justin which saw the defender carried off.
Brighton looked the most likely to settle the game in normal time, although Christian Walton denied Under at his near post with four minutes left.
The game seemed destined for extra time until Iheanacho popped up at the death to head in Youri Tielemans’ cross and send the Foxes through.