Ayoze Perez fired Newcastle United back to the Championship summit as a late turnaround sealed a 2-1 win for Rafael Benitez's side in the top-of-the-table clash with Brighton and Hove Albion.
Glenn Murray won and converted a 14th-minute penalty as Chris Hughton's team made an excellent start and, for the majority of the contest at the Amex Arena, Brighton appeared set to hold on to top spot.
Newcastle were short of their best but gradually worked their way into the contest and Diame levelled in fortuitous fashion nine minutes from time.
Substitute Perez then showed ice-cold composure in the penalty area to snatch an 89th-minute winner that puts Newcastle two points ahead of their opponents before another crunch promotion clash this weekend when they head to third-placed Huddersfield Town.
Yessssss! We are top of the league say we are ........Safe trip home toon army. Great support again. #brinew-- Alan Shearer (@alanshearer) February 28, 2017
Elsewhere, Aston Villa made it back-to-back wins and eased their relegation fears with a vital 2-0 victory over Bristol City, who are now only outside the bottom three on goal difference following Blackburn Rovers' 1-0 win over Derby County.
PEREZ CLIPS SEAGULLS' WINGS
Newcastle struggled in the opening stages at Brighton, where Benitez neglected to start with a recognised striker. It was his countryman Perez who belatedly provided conclusive proof of the need for a specialist with his sixth and most important league goal of the season
Brighton's veteran frontman Murray was adjudged to have been wronged when grappling with Ciaran Clark and made no mistake after referee Robert Madley pointed to the spot.
It was no less than Albion deserved and Newcastle required heroics from Karl Darlow to avoid further damage.
The former Nottingham Forest goalkeeper kept out a stinging Murray volley three minutes before the break and denied Anthony Knockaert early in the second period.
Yoan Gouffran, nominally leading the Newcastle line, failed to punish David Stockdale when Darlow's opposite number hit a clearance straight to him and the ex-Bordeaux winger made way in the wake of Diame's equaliser.
There was more than a touch of fortune about the goal as Brighton failed to clear a corner and Christian Atsu's mishit shot struck the towering midfielder on his heel before looping in.
By contrast, the winner was wonderfully crafted - Matt Ritchie's crossfield ball catching out Bruno and allowing Atsu to pick out Perez for a first-time sidefooted finish.
OLD BOY KODJIA PILES MISERY ON CITY
Aston Villa striker Jonathan Kodjia was barracked by the Bristol City fans when he struck the crossbar against his old club with a first-half penalty at Villa Park.
But chants of "What a waste of money" from the travelling supporters were sarcastically returned by the Villa faithful after the Ivory Coast international glanced in Albert Adomah's 54th-minute cross.
Kodjia looked to repay the favour five minutes later - teeing up Adomah, whose scuffed shot ran kindly for Conor Hourihane to finish.
Victory moves Steve Bruce's team nine points clear of City and third-bottom Blackburn, who have four points in two outings under new boss Tony Mowbray after Craig Conway crashed home a penalty before the hour to sink Derby.
It is now six winless matches in succession for Steve McClaren's men, leaving them 10 points adrift of the play-off places.