Substitutes Jack Payne and Kasey Palmer combined to bring Huddersfield Town a first win at Newcastle United since the 1953/54 season.
It's two Championship victories out of two for David Wagner's side after Payne controlled Palmer's pass and shot home to stun the home support in a 52,079 crowd at St James' Park.
Town led though Nahki Wells, who notched in first-half stoppage time, but Newcastle levelled on the hour through Dwight Gayle.
Town keeper Danny Ward blocked the striker's penalty, awarded for a handball by slipper Mark Hudson, but he followed up to nod home the rebound.
First Half
3mins: Dwight Gayle is well placed but heads over from Daryl Janmaat's long delivery.
5mins: Elias Kachunga tees up Town teammate Nahki Wells, whose curling shot is too high.
12mins: Kachunga's low shot hits outside of the left-hand post.
17mins: Chancel Mbemba's header is well saved by Town keeper Danny Ward.
17mins: From the corner, Isaac Hayden's header is narrowly off target.
21mins: Mark Hudson's foul on Gayle brings the Town skipper a booking - Jonjo Shelvey's free-kick is saved low down.
25mins: Chris Lowe's cross towards Wells is scrambled clear by the home defence.
28mins: Joe Lolley cuts in dangerously but shoots well over.
28mins: Another Town attack fizzles out as Rajiv van La Parra shoots far too high.
36mins: Gayle heads over from another Janmaat cross.
45mins: As the first half enters time added in, Wells shoots Town ahead from van La Parra's cross.
WATCH: Newcastle 0 Huddersfield 1 - Half Time Analysis with Blake Welton and Doug Thomson
Second Half
51mins: Lolley's shot is held.
60mins: Newcastle level from the penalty spot after Mark Hudson's handball. While Ward shaved Gayle's initial kick, the striker nods in the rebound.
64mins: Paul Dummett shoots over for the home side.
69mins: Matt Ritchie heads wide.
82mins: Jack Payne puts Town back in front, controlling Kasey Palmer's pass to shoot home.
90mins: Gayle slices wide.
Line-Ups
Newcastle: Sels, Janmaat (Armstrong, 83mins). Lascelles, Mbemba, Dummett, Anita, Shelvey, Hayden, Aarons (Ritchie, HT), Diame (Perez,
75), Gayle.
Subs Not Used: Clark, Colback, Gamez, Darlow.
Town: Ward, Smith, Hudson, Schindler, Lowe, Hogg, Mooy, Lolley (Payne, 81), Kachunga, Van La Parra (Scannell, 71), Wells (Palmer, 64).
Subs Not Used: Cranie, Stankovic, Hefele, Coleman.
Referee: Oliver Langford (West Midlands).