George Boyd struck twice as Peterborough beat Huddersfield to secure their first home win this season and move off the bottom of the table.
Saido Berahino set up both of Boyd's first-half goals, the second a superb effort from 35 yards.
Boyd then crossed for Kgosi Ntlhe to add a third on 48 minutes.
Huddersfield's Adam Hammill fired into the bottom corner to pull one back but the visitors slipped to sixth in the Championship.
Posh had lost all five previous league games at London Road this season, but striker Boyd opened the scoring in the 16th minute when teenager Berahino laid the ball off to his team-mate to fire in from the edge of the box.
Lee Tomlin then had a shot blocked by Huddersfield midfielder Adam Clayton before Peterborough pair Berahino and Boyd combined again to double their side's advantage in the 24th minute.
This time Berahino, on loan from West Brom, slipped the ball inside to Boyd from the right and the Posh forward unleashed a low shot from 35 yards to chalk up his fifth of the season.
Berahino could have extended the lead before the break but pulled his shot wide. It mattered little as three minutes after the re-start Boyd crossed for Ntlhe to score with a header.
Huddersfield boss Simon Grayson responded by sending on Hammill for Danny Ward and his tactical switch paid instant dividends.
Hammill, on loan from Wolves, cut in from the left to the edge of the area and drilled a right-footed shot into the bottom corner.
The visitors then enjoyed their best spell but Boyd came closest to scoring next as he miscued with the goal at his mercy.
Peterborough manager Darren Ferguson: "George's first goal was very good, but his second was nothing short of world-class.
"He has had a little look, spotted their keeper off his line and executed his shot brilliantly. If Lionel Messi had done that you would be seeing it over and over again.
"We're very happy to pick up our first home win of the season. It has been a long time coming."
Huddersfield boss Simon Grayson: "There is no doubt Peterborough deserve their victory. They have been struggling of late and we arrived on a high, but it goes to show what can happen in this league.
"We received plenty of hype after the weekend and I wanted to give those players the chance to get another win, but maybe I should have made changes."
Live Text Commentary
Full Time The referee ends the match.90:00 +4:59
Direct free kick taken by Paul Dixon.90:00 +4:59 Booking
Booking Michael Bostwick is cautioned.90:00 +4:57
Free kick awarded for an unfair challenge on Oliver Norwood by Michael Bostwick.90:00 +4:07
Kgosi Ntlhe fouled by Adam Hammill, the ref awards a free kick. Free kick taken by Michael Bostwick.90:00 +2:53 Substitution
Substitution Grant McCann goes off and Joe Newell comes on.90:00 +2:32
Centre by Adam Hammill, Anthony Gerrard has a headed effort at goal from just inside the box that misses to the right of the goal.90:00 +2:16
Oliver Norwood takes the outswinging corner, clearance made by Shaun Brisley.90:00 +2:05
Adam Hammill takes a shot. Blocked by Shaun Brisley.90:00 +0:11
Michael Bostwick gives away a free kick for an unfair challenge on Sean Scannell. Adam Hammill takes the free kick.89:34
Corner taken short by George Boyd.89:02
Short corner taken by George Boyd from the right by-line, Jack Hunt makes a clearance.88:50
George Boyd takes a shot. Save made by Alex Smithies.88:09
The ball is delivered by Paul Dixon, Shaun Brisley makes a clearance.87:37
The ball is sent over by Jack Hunt, Shaun Brisley manages to make a clearance.86:59
Grant McCann takes the direct free kick.86:59 Booking
Booking Grant McCann is cautioned.86:27
Oliver Norwood concedes a free kick for a foul on George Boyd.85:30
The ball is swung over by Jack Hunt, Mark Little makes a clearance.84:54
Paul Dixon has an effort at goal from outside the area which misses left.
Centre by Adam Hammill, clearance made by Shaun Brisley.84:22
The ball is sent over by Jack Hunt, blocked by Kgosi Ntlhe.83:02 Substitution
Substitution (Peterborough) makes a substitution, with Kane Ferdinand coming on for Lee Tomlin.82:20
Adam Hammill fouled by Grant McCann, the ref awards a free kick. Oliver Norwood crosses the ball in from the free kick.80:50
The ball is delivered by Emile Sinclair, save by Alex Smithies.79:51
Grant McCann takes a inswinging corner from the right by-line played to the near post, save by Alex Smithies.78:32
Inswinging corner taken from the right by-line by Grant McCann, Shaun Brisley produces a header from close range which goes wide of the left-hand post.78:01
Corner taken by Grant McCann from the right by-line to the near post, clearance made by Adam Clayton.76:53 Substitution
Substitution Emile Sinclair on for Saido Berahino.75:49
Grant McCann concedes a free kick for a foul on Adam Hammill. Oliver Norwood produces a shot on goal direct from the free kick.74:01
Inswinging corner taken from the right by-line by Grant McCann, clearance made by Peter Clarke.73:18 Substitution
Substitution Sean Scannell replaces James Vaughan.72:17
Effort from outside the penalty box by Keith Southern goes wide right of the goal.72:09
Jack Hunt delivers the ball, Craig Alcock makes a clearance.71:48 Booking
Booking Kgosi Ntlhe booked for time wasting.71:12
Saido Berahino takes a shot. Save by Alex Smithies.70:13
Outswinging corner taken left-footed by Grant McCann, Alex Smithies makes a save.70:06
The ball is sent over by George Boyd, clearance made by Peter Clarke.69:18
George Boyd crosses the ball, save by Alex Smithies.67:18
Outswinging corner taken left-footed by Grant McCann played to the near post, clearance made by Adam Clayton.67:06
Lee Tomlin produces a cross, Paul Dixon gets a block in.62:46
The ball is swung over by Mark Little, George Boyd has an effort at goal from close in which goes wide right of the target.61:39
Jack Hunt concedes a free kick for a foul on George Boyd. Free kick taken by Robert Olejnik.60:08
Jermaine Beckford produces a cross, Shaun Brisley makes a clearance.59:05
The referee penalises Jermaine Beckford for handball. Direct free kick taken by Nathaniel Knight-Percival.56:58
Inswinging corner taken from the left by-line by Oliver Norwood.54:54
Kgosi Ntlhe concedes a free kick for a foul on Jermaine Beckford. Direct strike on goal from the free kick comes in from Oliver Norwood, blocked by Lee Tomlin.54:32
Unfair challenge on Adam Clayton by Michael Bostwick results in a free kick. Anthony Gerrard restarts play with the free kick.52:04
Shaun Brisley concedes a free kick for a foul on Adam Hammill. Shot comes in from Adam Hammill from the free kick.50:19 Goal scored
Goal! - Adam Hammill - Peterboro 3 - 1 Huddersfld Adam Hammill gets on the score sheet with a goal from just inside the area to the bottom right corner of the goal. Peterborough 3-1 Huddersfield.49:43
Effort from outside the penalty box by Adam Hammill goes wide left of the target.48:44 Substitution
Substitution Calum Woods goes off and Paul Dixon comes on.48:44 Substitution
Substitution Daniel Ward leaves the field to be replaced by Adam Hammill.47:16
The assist for the goal came from George Boyd.47:16 Goal scored
Goal! - Kgosi Ntlhe - Peterboro 3 - 0 Huddersfld Kgosi Ntlhe scores a headed goal from close range. Peterborough 3-0 Huddersfield.47:15
The ball is swung over by George Boyd,45:54
James Vaughan challenges Michael Bostwick unfairly and gives away a free kick. Robert Olejnik restarts play with the free kick.45:01
The referee blows his whistle to start the second half.45:00 +2:21 Half time
Half Time The match has reached half-time.45:00 +1:34
Outswinging corner taken left-footed by Grant McCann from the left by-line.45:00 +1:27
Michael Bostwick crosses the ball, Jack Hunt manages to make a clearance.45:00 +0:10
Grant McCann has a shot on goal from long range that goes wide left.44:27
Effort from the edge of the area by Saido Berahino goes wide of the right-hand upright.44:07
A cross is delivered by Adam Clayton, Craig Alcock makes a clearance.39:28
Kgosi Ntlhe takes a shot. Save by Alex Smithies.38:03
Jermaine Beckford takes a shot. Robert Olejnik makes a save.36:24
Free kick awarded for a foul by Anthony Gerrard on Saido Berahino. The free kick is swung in left-footed by Grant McCann, save made by Alex Smithies.34:37
James Vaughan produces a cross.33:59
The ball is crossed by Oliver Norwood, Robert Olejnik makes a save.33:01
Jack Hunt crosses the ball, Michael Bostwick makes a clearance.32:17
Unfair challenge on James Vaughan by Mark Little results in a free kick. Calum Woods takes the free kick.32:03
Free kick awarded for a foul by Michael Bostwick on Daniel Ward. Daniel Ward takes the free kick.31:04
The ball is sent over by Mark Little, clearance made by Peter Clarke.30:43
Daniel Ward takes a shot. Save made by Robert Olejnik.30:11
Daniel Ward fouled by Michael Bostwick, the ref awards a free kick. The free kick is delivered right-footed by Oliver Norwood from left wing, clearance by Nathaniel Knight-Percival.29:49
Saido Berahino takes a shot. Peter Clarke gets a block in.29:35
The ball is crossed by Adam Clayton, Nathaniel Knight-Percival makes a clearance.28:35
The referee gives a free kick against Calum Woods for handball. Direct free kick taken by Grant McCann.25:44
Shot on goal by Jermaine Beckford from long range goes harmlessly over the target.23:21
Assist by Saido Berahino.23:21 Goal scored
Goal! - George Boyd - Peterboro 2 - 0 Huddersfld George Boyd finds the back of the net with a goal from a long way out low into the middle of the goal. Peterborough 2-0 Huddersfield.21:09
Outswinging corner taken from the left by-line by Grant McCann.20:43
Mark Little produces a cross, Lee Tomlin takes a shot. Blocked by Adam Clayton.18:08
A cross is delivered by Calum Woods.15:21
Assist by Saido Berahino.15:21 Goal scored
Goal! - George Boyd - Peterboro 1 - 0 Huddersfld A goal is scored by George Boyd from just inside the area to the bottom right corner of the goal. Peterborough 1-0 Huddersfield.14:39
Free kick awarded for a foul by Peter Clarke on Saido Berahino. Direct free kick taken by Shaun Brisley.13:45
Centre by Nathaniel Knight-Percival, Mark Little takes a shot. Save by Alex Smithies.13:27
Foul by James Vaughan on Kgosi Ntlhe, free kick awarded. Nathaniel Knight-Percival takes the direct free kick.9:04
James Vaughan produces a cross.6:59
Daniel Ward crosses the ball, clearance made by Shaun Brisley.4:35
Saido Berahino has an effort at goal from just outside the box which goes wide of the left-hand upright.3:11
Foul by Keith Southern on Grant McCann, free kick awarded. Robert Olejnik takes the direct free kick.2:35
James Vaughan delivers the ball, clearance made by Shaun Brisley.2:16
James Vaughan gives away a free kick for an unfair challenge on Kgosi Ntlhe. Nathaniel Knight-Percival restarts play with the free kick.0:38
Free kick awarded for an unfair challenge on Grant McCann by Oliver Norwood. Grant McCann takes the free kick.0:00
The game kicks-off.
Live data and text provided by our data suppliers