Substitute Steven Bergwijn struck two stoppage-time goals as Tottenham Hotspur came from behind at the death to beat Leicester City 3-2 at King Power Stadium.
Spurs threatened early on through Harry Kane, who had an effort cleared off the line by Luke Thomas before heading against the crossbar.
Leicester took the lead against the run of play on 24 minutes when Patson Daka struck an angled shot past Hugo Lloris.
Kane equalised for Spurs in the 38th minute, firing into the far corner for his 18th goal against Leicester, his most against any Premier League side.
On 76 minutes, Leicester went in front for the second time when Harvey Barnes and Maddison combined and the latter's strike deflected in over Lloris.
But Bergwijn then came off the bench and equalised in the fifth minute of stoppage time, before rounding Kasper Schmeichel two minutes later to secure a remarkable victory.
Spurs climb to fifth with 36 points. one point behind fourth-placed West Ham United with three matches in hand. Leicester are 10th on 25 points.
See: Leicester report | Spurs report
Next fixtures
Leicester: 23 Jan v Brighton (H)
Spurs: 23 Jan v Chelsea (H)
Match officials
Referee: Jonathan Moss. Assistants: Marc Perry, Timothy Wood. Fourth official: Robert Jones. VAR: Simon Hooper. Assistant VAR: Mark Scholes.
WHO'S GOING TO BE YOUR
MAN OF THE MATCH?
Vote at Full-time