Sheffield Wednesday boosted their bid to avoid relegation at the expense of South Yorkshire rivals Barnsley.
The Owls went ahead through Gary Madine's close-range strike after the hour even though Barnsley had looked the more comfortable for long spells.
Reda Johnson made it 2-0 with a header before Wednesday's Lewis Buxton was dismissed for a second yellow card.
Madine was guilty of missing from the penalty spot before Jacob Mellis pulled one back for Barnsley at the end.
The win leaves Wednesday a point clear of the drop zone, while Barnsley lie second-bottom, a point from safety but with a game in hand.
The Tykes went into the game with back-to-back wins but victories for Peterborough and Wolves leaves them with a battle to avoid the drop.
The visitors had the better of the first 15 minutes, with Jim O'Brien dragging an effort wide and Chris Dagnall seeing his shot spilled by Chris Kirkland.
Dagnall had a shot well blocked by Miguel Llera before Marlon Harewood hooked wide from a good position at the far post.
Just as it looked like Barnsley were edging ahead, Wednesday took the lead against the run of play when Buxton broke down the right and slid a superb ball across the face of goal, with Madine turning home at the far post.
It was Madine's first goal since early December - a run of 13 games without scoring.
The second came 13 minutes from time when Johnson had acres of space to head home Llera's free-kick.
With Wednesday dominant, Madine blazed a penalty wide after Bobby Hassell's handball.
Barnsley made a game of it in six minutes of added time when Mellis smashed home from 16 yards, but Wednesday were not to be denied.
Sheffield Wednesday manager Dave Jones:
"In the second half we took it to them and thoroughly deserved the win in the end. It was all about getting the three points for us. We got in behind them a couple of times in the second half and could have won by more.
"Gary Madine had a good season last year and he scored a lot of goals. He has struggled to adapt at this level but he has worked at it. There has been a lot said about a falling out, but there have never been any problems.
"Strikers are commodity that everyone wants if they can score goals. It's nice for him to get his goal. If I didn't feel he could score goals he wouldn't be here. We will keep working with him."
Barnsley manager David Flitcroft:
"We have got to be constructive, the two goals were disappointing, they came when we had momentum. When you have a foothold you have to make sure you lock that down.
"The second goal has really disappointed me, we had to be brave. At 2-0, the momentum was with Sheffield Wednesday and I didn't want it to turn into a rout.
"There are eight more games to look forward to. The pressure on us is to stay in the league, but the pressure is on other teams to get out of it and they are just panicking and we have to take advantage.
"The players are hurting but when we leave here, we leave proud and in a positive state of mind."
Live Text Commentary
Full Time The referee blows his whistle to end the game.90:00 +6:28
Direct free kick taken by Chris Kirkland.90:00 +6:28 Booking
Booking Marlon Harewood receives a yellow card for dissent.90:00 +6:09
Marlon Harewood challenges Miguel Llera unfairly and gives away a free kick.90:00 +5:49
Tom Kennedy takes the direct free kick.90:00 +5:49 Booking
Booking Jeremy Helan receives a yellow card.90:00 +5:29
Unfair challenge on Martin Cranie by Jeremy Helan results in a free kick.90:00 +5:06
Gary Madine concedes a free kick for a foul on Bobby Hassell. Tom Kennedy takes the free kick.90:00 +4:16
Marlon Harewood is flagged offside by the assistant referee. Free kick taken by Chris Kirkland.90:00 +3:43
Chris Maguire takes a shot from just inside the penalty box which clears the bar.90:00 +3:14
Unfair challenge on Jermaine Johnson by Danny Rose results in a free kick. Chris Kirkland takes the direct free kick.90:00 +1:39
Assist by Marlon Harewood.90:00 +1:39 Goal scored
Goal! - Jacob Mellis - Sheff Wed 2 - 1 Barnsley Jacob Mellis fires in a goal from just inside the area to the bottom left corner of the goal. Sheff Wed 2-1 Barnsley.90:00 +1:03
The ball is crossed by Kelvin Etuhu, clearance made by Giles Coke.88:48
Reda Johnson produces a cross.87:46
Kelvin Etuhu gives away a free kick for an unfair challenge on Giles Coke. Free kick taken by Chris Kirkland.86:52
Direct free kick taken by Jason Scotland.86:52 Dismissal
Dismissal Lewis Buxton receives a red card.85:31
Free kick awarded for an unfair challenge on Danny Rose by Miguel Llera.83:38 Penalty
Penalty missed by Gary Madine.
Bobby Hassell is penalised for handball and concedes a .81:56
The official flags Chris Maguire offside. Luke Steele restarts play with the free kick.80:50 Substitution
Substitution Chris Maguire comes on in place of Leroy Lita.80:14
Reuben Noble-Lazarus takes a shot. Save by Chris Kirkland.77:55 Substitution
Substitution Danny Rose replaces Kelvin Etuhu.76:26
Assist on the goal came from Miguel Llera.76:26 Goal scored
Goal! - Reda Johnson - Sheff Wed 2 - 0 Barnsley Reda Johnson scores a headed goal from close range. Sheff Wed 2-0 Barnsley.75:56
Free kick awarded for a foul by Martin Cranie on Gary Madine. The ball is sent over by Miguel Llera,74:33
The free kick is delivered left-footed by Miguel Llera from right channel, save by Luke Steele.74:33 Booking
Booking Caution for Martin Cranie.74:15
Giles Coke fouled by Martin Cranie, the ref awards a free kick.73:20
Jermaine Johnson takes a shot. Save by Luke Steele.72:29
Free kick awarded for an unfair challenge on Leroy Lita by Martin Cranie. Direct free kick taken by Lewis Buxton.71:26
Foul by Seyi Olofinjana on Reuben Noble-Lazarus, free kick awarded. Bobby Hassell takes the free kick.70:12
Centre by Lewis Buxton, save made by Luke Steele.69:40
Gary Madine takes a shot. Luke Steele makes a save.67:04
Shot by Reuben Noble-Lazarus from outside the box goes over the target.66:11
Free kick awarded for a foul by Giles Coke on Jason Scotland. Kelvin Etuhu delivers the ball from the free kick right-footed from right wing.65:56 Booking
Booking Gary Madine is shown a yellow card.64:55
Lewis Buxton provided the assist for the goal.64:55 Goal scored
Goal! - Gary Madine - Sheff Wed 1 - 0 Barnsley Goal scored by Gary Madine from inside the six-yard box to the bottom left corner of the goal. Sheff Wed 1-0 Barnsley.64:51
The ball is crossed by Lewis Buxton,63:47
Jason Scotland takes a shot. Save by Chris Kirkland.61:25
Bobby Hassell restarts play with the free kick.61:25 Substitution
Substitution Chris Dagnall goes off and Jason Scotland comes on.61:25 Substitution
Substitution Giles Coke replaces Stuart Holden.61:25
Leroy Lita concedes a free kick for a foul on Martin Cranie.60:39
Corner from right by-line taken by Chris Dagnall.60:24
Reuben Noble-Lazarus takes a shot. Chris Kirkland makes a fantastic save.58:05
A cross is delivered by Reuben Noble-Lazarus, clearance by Anthony Gardner.57:16
Chris Dagnall gives away a free kick for an unfair challenge on Reda Johnson. Free kick taken by Chris Kirkland.56:11 Substitution
Substitution (Sheff Wed) makes a substitution, with Jermaine Johnson coming on for Danny Pugh.55:40 Substitution
Substitution Reuben Noble-Lazarus on for Jim O'Brien.55:24
Effort from outside the penalty box by Kelvin Etuhu goes wide right of the target.54:12
Chris Dagnall concedes a free kick for a foul on Leroy Lita. Chris Kirkland restarts play with the free kick.53:20
Corner taken by Kelvin Etuhu from the left by-line to the near post, clearance made by Gary Madine.52:32
The ball is swung over by Miguel Llera, Reda Johnson takes a shot. Save by Luke Steele.51:55
The ball is sent over by Tom Kennedy, Anthony Gardner makes a clearance.50:07
Tom Kennedy takes a inswinging corner from the right by-line played to the near post.47:41
Inswinging corner taken by Stuart Holden from the left by-line played to the near post.46:35
The referee blows for offside against Leroy Lita. Direct free kick taken by Luke Steele.45:01
The second half kicks off.45:00 +2:56 Half time
Half Time The first half comes to an end.45:00 +1:19
Foul by Lewis Buxton on David Perkins, free kick awarded. Kelvin Etuhu produces a strike on goal direct from the free kick, save by Chris Kirkland.45:00 +0:12
A cross is delivered by Lewis Buxton, Bobby Hassell manages to make a clearance.43:19
Bobby Hassell takes the free kick.43:19 Booking
Booking Lewis Buxton is cautioned.43:00
Jim O'Brien fouled by Lewis Buxton, the ref awards a free kick.41:57
Tom Kennedy delivers the ball, Effort on goal by Marlon Harewood from just inside the penalty area goes over the target.41:43
Chris Dagnall takes a shot. Miguel Llera gets a block in.40:52
Marlon Harewood is caught offside. Chris Kirkland restarts play with the free kick.37:27
Martin Cranie challenges Gary Madine unfairly and gives away a free kick. Chris Kirkland takes the direct free kick.32:18
Foul by Kelvin Etuhu on Jeremy Helan, free kick awarded. Direct free kick taken by Chris Kirkland.25:48
Marlon Harewood is adjudged to have handled the ball. Chris Kirkland takes the free kick.22:15
Scott Wiseman fouled by Reda Johnson, the ref awards a free kick. Free kick crossed right-footed by Kelvin Etuhu.21:10
Shot on goal by Reda Johnson from just inside the area goes over the target.20:21
Seyi Olofinjana fouled by David Perkins, the ref awards a free kick. Direct free kick taken by Chris Kirkland.19:37
The assistant referee signals for offside against Marlon Harewood. Chris Kirkland takes the direct free kick.17:36
Unfair challenge on Gary Madine by Jim O'Brien results in a free kick. Free kick taken by Lewis Buxton.12:37
Chris Dagnall takes a shot. Save by Chris Kirkland.8:22
Jim O'Brien produces a right-footed shot from the edge of the area and misses to the left of the goal.6:55
Jim O'Brien is ruled offside. Chris Kirkland restarts play with the free kick.6:22
Corner taken left-footed by Danny Pugh, save by Luke Steele.5:31
Free kick awarded for an unfair challenge on Martin Cranie by Gary Madine. Direct free kick taken by Luke Steele.5:11
Seyi Olofinjana fouled by Jacob Mellis, the ref awards a free kick. Direct free kick taken by Anthony Gardner.4:40
Short corner taken by Kelvin Etuhu from the left by-line.4:05
Leroy Lita is caught offside. Luke Steele takes the direct free kick.0:38
Inswinging corner taken by Kelvin Etuhu from the left by-line played to the near post.0:00
The game kicks-off.
Live data and text provided by our data suppliers