Alexander Isak scored twice as Newcastle United survived a late fightback to down fellow top-four hopefuls Nottingham Forest 4-3 in an enthralling Premier League contest.
Callum Hudson-Odoi's eye-catching opener six minutes in silenced the St. James' Park crowd, but Newcastle roared back emphatically with four goals in just 11 first-half minutes.
Lewis Miley restored parity before Jacob Murphy – who was at fault for Forest's opening goal – sent Eddie Howe's side ahead two minutes later.
Isak's stuttering penalty, awarded after a VAR review for a handball by Ola Aina, furthered Newcastle's lead before the Swedish striker netted another for his 50th Premier League goal to cap a chaotic turnaround.
Nikola Milenkovic's cute finish and a late Ryan Yates strike had Newcastle reeling but they held on to move fifth, just three points adrift of Forest, who could drop to fourth if Manchester City beat leaders Liverpool later on Sunday.
How the match unfolded
Hudson-Odoi snatched possession from Murphy before arrowing a delightful right-footed strike home early on from range, though Miley equalised when latching onto Lewis Hall's cross and drilling past the unsighted Matz Sels to level after 23 minutes.
Murphy atoned for his earlier error by bundling over the line from point-blank range after Hall's attempted cutback pass was deflected by Murillo – and matters continued to go downhill for Forest.
Aina's arm was deemed to be in an unnatural position to block another Hall cross after a VAR review and Isak just sneaked his unconvincing penalty past Sels, despite the Forest goalkeeper getting a hand to the spot-kick down the middle.
Isak made it two goals in as many minutes when powering onto Joe Willock's pass, with his left-footed drive looping over the powerless Sels thanks to a Murillo deflection.
Milenkovic pulled a goal back for Forest to make it 4-2, flicking Chris Wood's cross-shot past Nick Pope in the 63rd minute before Newcastle just about held on for victory after Yates turned home Morgan Gibbs-White's blocked volley in the 90th minute.
Milestone-man Isak inspires Newcastle
Newcastle were way off the pace in their 4-0 hammering by Man City last time out and may have been fearing the worst after Hudson-Odoi's opener against the run of play.
The hosts could have levelled when Miley's volley was deflected wide by Murillo before Anthony Gordon narrowly missed Tino Livramento's fizzing cross.
Their deserved reward soon arrived, though, as Miley showed composure belying his youthful age to score before Murphy's instinctive positioning made amends for his earlier error.
Hall continued to enjoy his freedom down the left and again punished Forest when the VAR recommended an on-field review for Aina's handball, with Isak fortuitously finishing after referee Jarred Gillett overturned his original call.
The Swedish striker's second goal characterised his brilliant forward play, gliding in behind before crashing home for his 50th Premier League goal in just 76 appearances – only six players have hit the half-century mark faster in the competition.
Fabian Schar was denied by the crossbar after the interval, heading onto the woodwork from Hall's corner, though Howe will have just been relieved to survive waves of late Forest pressure for the victory.
This vital win sets Newcastle up nicely in their top-four pursuit before Wednesday's visit to leaders Liverpool.
Comeback task too great after uncharacteristic Forest collapse
Forest's brilliant start to this campaign leaves them controlling their top-four destiny, though following up the Fulham defeat with this loss to Newcastle will concern Nuno Espirito Santo.
The away side set out in their usual, well-drilled defensive formation, reaping the rewards as Hudson-Odoi again profited with a strike from outside the box.
However, Aina was then repeatedly exposed on their right, with little cover offered by Anthony Elanga and Nicolas Dominguez, as all four Newcastle goals started from that flank.
Elanga somehow smashed over after Neco Williams' headed back across goal in the second half, though Milenkovic's inventive finish placed Newcastle firmly on the ropes.
An unmarked Murillo then headed narrowly wide and Gibbs-White's cross almost caught Pope out before Yates poached from close range after Schar's block to set up a grandstand finish.
Forest wanted a last-gasp penalty after Gordon collided with Yates from behind, though referee Gillett waved away those protests as their first-half collapse ultimately proved too much to come back from.
Regardless of their second-half improvements, Nuno will be desperate for a response in Wednesday's home match with Arsenal, who are six points clear of Forest.
Club reports
Newcastle report | Nottingham Forest report
Match officials
Referee: Jarred Gillett. Assistants: Darren Cann, Mark Scholes. Fourth official: Tony Harrington. VAR: Peter Bankes. Assistant VAR: Ian Hussin.
WHO'S GOING TO BE YOUR
MAN OF THE MATCH?
Vote at Full-time