Peterborough fought back from 3-2 down to beat 10-man Sheffield Wednesday.
Jermaine Johnson fired the Owls in front before Craig Mackail-Smith poked home for 1-1, while Gary Madine pounced to restore the visitors' advantage.
George Boyd struck from 20 yards, Chris Sedgwick put Wednesday ahead again from close range but then Darren Potter saw red for fouling Mackail-Smith.
Boyd rifled in again, Nathaniel Mendez-Laing scored at the second attempt and Mackail-Smith passed into an empty net.
Peterborough United boss Darren Ferguson told BBC Radio Cambridgeshire: "It's a great result - you want to win your home games and it puts us back in the top six.
"Sheffield Wednesday did their homework so we had to change it at half time.
"I don't think we have done well enough against the so called big teams before tonight."
Sheffield Wednesday manager Alan Irvine told BBC Radio Sheffield: "That was bitterly disappointing, I felt as if we were comfortable until the sending off and obviously it made a huge difference.
"We'll keep working hard, keep working away and get the work done at the training ground as much as we possibly can and hopefully things can turn round.
"I wasn't surprised it was a red card, I felt as if another referee might have looked at it and thought that there was a covering defender but it wasn't a surprise that it was a red card."
Live text and stats
Tuesday, 1 February 2011
Npower League One
07 Wesolowski (Little 46)
14 Rowe (McCann 61)
18 Whelpdale (Mendez-Laing 66)
14 Potter red card
23 Johnson (Teale 46)
24 Sedgwick (Jones 80 yellow card)
33 Mellor (O'Connor 72 yellow card)
Ref: Geoff EltringhamAtt: 6,480
Attempts on target
Attempts off target
90:00+4:52 The referee blows his whistle to end the game.
90:00+3:41 Assist by Grant McCann.
90:00+3:41 GOAL - Craig Mackail-Smith:Peterborough 5 - 3 Sheff Wed Craig Mackail-Smith scores a goal from close in low into the middle of the goal. Peterborough 5-3 Sheff Wed.
90:00+3:09 Gary Teale takes the inswinging corner, save made by Joe Lewis.
90:00+2:51 George Boyd has an effort at goal from outside the penalty box which goes wide right of the target.
90:00+1:36 Grant McCann produces a right-footed shot from just outside the box that goes wide right of the target.
90:00+0:17 Reda Johnson is flagged offside by the assistant referee. Joe Lewis takes the indirect free kick.
Correction - 88:21 The ball is crossed by Reda Johnson.
88:21 The ball is delivered by Reda Johnson.
87:49 The ball is delivered by Lee Tomlin, clearance by Michael Morrison.
87:11 Lee Tomlin takes a shot. Save by Nicky Weaver.
85:17 Gary Madine is caught offside. Direct free kick taken by Kelvin Langmead.
83:45 GOAL - Nathaniel Mendez-Laing:Peterborough 4 - 3 Sheff Wed A goal is scored by Nathaniel Mendez-Laing from close in to the top right corner of the goal. Peterborough 4-3 Sheff Wed.
82:25 Foul by Daniel Jones on Nathaniel Mendez-Laing, free kick awarded. The free kick is swung in left-footed by Grant McCann,
clearance by Mark Reynolds.
82:25 Booking Booking for Daniel Jones.
80:46 Shot by Nathaniel Mendez-Laing from deep inside the penalty area misses to the left of the goal.
79:28 Substitution (Sheff Wed) makes a substitution, with Daniel Jones coming on for Chris Sedgwick.
78:56 Inswinging corner taken by Grant McCann, Effort from deep inside the area by George Boyd clears the bar.
78:33 James O'Connor concedes a free kick for a foul on Mark Little. Grant McCann crosses the ball from the free kick left-footed
from right wing, Mark Reynolds manages to make a clearance.
78:24 Craig Mackail-Smith delivers the ball, Michael Morrison manages to make a clearance.
77:43 Giles Coke is penalised for a handball. Grant McCann takes the indirect free kick.
76:31 Lee Tomlin takes a shot. Nicky Weaver makes a save.
76:16 The ball is delivered by George Boyd, save by Nicky Weaver.
73:41 GOAL - George Boyd:Peterborough 3 - 3 Sheff Wed George Boyd scores a goal from inside the box high into the middle of the goal. Peterborough 3-3 Sheff Wed.
71:46 Booking The referee shows James O'Connor a yellow card for entering the field of play without the referee's permission.
Correction - 71:09 Substitution James O'Connor on for Neil Mellor.
71:09 Substitution Neil Mellor goes off and James O'Connor comes on.
71:04 The ball is swung over by Nathaniel Mendez-Laing.
70:53 Centre by George Boyd, clearance made by Mark Reynolds.
70:16 Inswinging corner taken by Lee Tomlin, save made by Nicky Weaver.
70:02 Grant McCann takes a shot. Save by Nicky Weaver.
68:37 Free kick awarded for a foul by Darren Potter on Craig Mackail-Smith. Grant McCann restarts play with the free kick.
68:37 Sent off Darren Potter receives a red card.
67:44 Corner taken right-footed by Gary Teale, Ryan Bennett manages to make a clearance.
67:37 Centre by Reda Johnson, Mark Little gets a block in.
67:17 The ball is crossed by Lewis Buxton, save made by Joe Lewis.
65:55 Substitution Nathaniel Mendez-Laing joins the action as a substitute, replacing Chris Whelpdale.
65:20 The referee blows for offside. Nicky Weaver takes the free kick.
64:50 Ryan Bennett fouled by Gary Madine, the ref awards a free kick. Joe Lewis takes the free kick.
64:25 Shot by Charlie Lee from outside the area goes high over the crossbar.
61:45 The referee blows for offside against Craig Mackail-Smith. Nicky Weaver takes the indirect free kick.
60:35 The referee blows for offside. Nicky Weaver takes the free kick.
60:35 Substitution Grant McCann is brought on as a substitute for Tommy Rowe.
59:27 Free kick awarded for a foul by Mark Little on Gary Teale. Mark Reynolds takes the direct free kick.
58:58 A cross is delivered by Tom Kennedy.
57:14 Craig Mackail-Smith concedes a free kick for a foul on Reda Johnson. Free kick taken by Nicky Weaver.
56:45 George Boyd produces a cross.
53:45 Centre by Lee Tomlin.
53:22 Tommy Rowe fouled by Darren Potter, the ref awards a free kick. Joe Lewis takes the indirect free kick.
53:15 Centre by Chris Sedgwick, clearance by Mark Little.
52:29 Chris Sedgwick produces a cross, clearance by Kelvin Langmead.
51:52 Charlie Lee fouled by Chris Sedgwick, the ref awards a free kick. Free kick taken by Joe Lewis.
51:14 Outswinging corner taken from the right by-line by Lee Tomlin, clearance made by Reda Johnson.
50:49 Craig Mackail-Smith takes a shot. Save by Nicky Weaver.
50:25 Gary Madine challenges Joe Lewis unfairly and gives away a free kick. Free kick taken by Joe Lewis.
50:03 Corner from left by-line taken by Gary Teale.
49:09 Darren Potter sends in a cross, Neil Mellor takes a shot. Joe Lewis makes a save.
48:18 Foul by Tommy Rowe on Giles Coke, free kick awarded. Free kick taken by Darren Potter.
47:54 Effort from inside the area by Giles Coke misses to the right of the target.
45:02 Substitution Gary Teale is brought on as a substitute for Jermaine Johnson.
45:01 The game restarts for the second half.
45:01 Substitution James Wesolowski leaves the field to be replaced by Mark Little.
45:00+2:59 The match has reached half-time.
45:00+1:59 Corner taken by Lee Tomlin from the right by-line played to the near post, Mark Reynolds manages to make a clearance.
45:00+1:22 Chris Sedgwick concedes a free kick for a foul on Charlie Lee. Indirect free kick taken by Joe Lewis.
44:26 The official flags Craig Mackail-Smith offside. Michael Morrison takes the indirect free kick.
43:47 Effort on goal by Jermaine Johnson from deep inside the penalty area misses to the right of the target.
40:19 Charlie Lee has an effort at goal from outside the box missing to the wide left of the goal.
36:56 Gary Madine challenges Kelvin Langmead unfairly and gives away a free kick. Free kick taken by Joe Lewis.
36:31 Lee Tomlin produces a right-footed shot from just outside the area that goes harmlessly over the target.
34:49 Assist by Neil Mellor.
34:49 GOAL - Chris Sedgwick:Peterborough 2 - 3 Sheff Wed Chris Sedgwick gets on the score sheet with a goal from the edge of the penalty box to the bottom left corner of the goal.
Peterborough 2-3 Sheff Wed.
33:31 Inswinging corner taken by Darren Potter, Kelvin Langmead makes a clearance.
33:21 The ball is crossed by Jermaine Johnson, clearance made by Kelvin Langmead.
32:03 Charlie Lee crosses the ball.
28:46 Effort on goal by Neil Mellor from deep inside the penalty area misses to the right of the target.
28:14 Free kick awarded for an unfair challenge on Gary Madine by Kelvin Langmead. Reda Johnson takes the indirect free kick.
28:07 Centre by James Wesolowski, Reda Johnson manages to make a clearance.
26:49 Effort from outside the penalty box by George Boyd goes wide left of the goal.
25:05 The assist for the goal came from Lee Tomlin.
25:05 GOAL - George Boyd:Peterborough 2 - 2 Sheff Wed George Boyd fires in a goal from the edge of the penalty box to the bottom right corner of the goal. Peterborough 2-2 Sheff
20:18 GOAL - Gary Madine:Peterborough 1 - 2 Sheff Wed Gary Madine finds the back of the net with a goal from inside the area to the bottom right corner of the goal. Peterborough
1-2 Sheff Wed.
17:57 Mark Reynolds delivers the ball, Header from deep inside the area by Chris Sedgwick goes over the bar.
15:57 The assist for the goal came from Lee Tomlin.
15:57 GOAL - Craig Mackail-Smith:Peterborough 1 - 1 Sheff Wed Craig Mackail-Smith gets on the score sheet with a goal from deep inside the penalty box low into the middle of the goal.
Peterborough 1-1 Sheff Wed.
14:27 Neil Mellor has an effort at goal from close range which goes wide left of the goal.
12:41 A cross is delivered by Chris Whelpdale, Chris Sedgwick makes a clearance.
11:08 Foul by Giles Coke on Tommy Rowe, free kick awarded. Lee Tomlin takes the direct free kick.
9:06 Inswinging corner taken by Lee Tomlin, Giles Coke manages to make a clearance.
8:50 George Boyd takes a shot. Save by Nicky Weaver.
7:57 Unfair challenge on Giles Coke by Charlie Lee results in a free kick. Michael Morrison restarts play with the free kick.
5:45 Lewis Buxton produces a left-footed shot from just outside the area that goes harmlessly over the target.
4:25 The assist for the goal came from Giles Coke.
4:25 GOAL - Jermaine Johnson:Peterborough 0 - 1 Sheff Wed Jermaine Johnson finds the back of the net with a goal from the edge of the penalty box to the bottom right corner of the
goal. Peterborough 0-1 Sheff Wed.
3:22 Craig Mackail-Smith delivers the ball, George Boyd takes a shot. Save by Nicky Weaver.
2:32 Corner from the right by-line taken by Darren Potter, Neil Mellor has an effort at goal from close range which goes wide left
of the target.
1:50 Outswinging corner taken by Darren Potter from the right by-line, Gary Madine takes a shot. Charlie Lee gets a block in.
0:00 The referee starts the match.
Live text and data provided by The Press Association.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.