Barnsley defeated 10-man Blackpool to secure back-to-back league wins and edge closer to Championship safety.
Jim O'Brien scored the opener midway through the first half when he slotted in after good work by Marlon Harewood.
But Tom Ince equalised as he smashed a 20-yard shot past Barnsley goalkeeper Luke Steele.
However, Blackpool were reduced to 10 men when Matt Gilks was sent off for handling outside the area before Jason Scotland prodded in a late winner.
The forward, who scored on his Tykes debut in last weekend's 2-0 win over Millwall, came off the bench again to convert past Blackpool's substitute goalkeeper Mark Halstead, at the second attempt.
- This was Barnsley's eighth win of the Championship season
Blackpool had created several opportunities to take the lead.
Midfielder Tiago Gomes forced a good save from Steele, while Barnsley centre-back Stephen Foster cleared Gary Taylor-Fletcher's header off the line.
But a Blackpool corner led to Barnsley taking the lead as Martin Crainie's clearance fell to Harewood, who burst through two challenges before releasing O'Brien, who finished past Gilks.
Chris Basham should have equalised with a header and defender Craig Cathcart's brilliant 20-yard volley missed the Tykes goal by inches.
But Ince made it 1-1 in the 55th minute, firing home after an incisive passing move involving Tiago Gomes, Taylor-Fletcher and Stephen Crainey.
Ten minutes later, Blackpool had Gilks dismissed as he handled outside the penalty area as he tried to deny Chris O'Grady, who was through on goal.
David Perkins went close for the visitors and Tom Kennedy curled a free-kick a few yards wide.
The hosts nearly took a late lead but Steele pushed a 25-yard effort from Matt Derbyshire on to the crossbar, before Scotland scored the Tykes' winner in the 88th minute.
Their victory means Barnsley are now just two points behind 21st placed Wolves, who were beaten 2-1 by Leicester on Thursday.
Barnsley manager David Flitcroft:
"It was probably the hardest game of the season, but the lads have dug in and got the result.
"I've not set any targets yet, that's not really my style, we just have to worry about ourselves.
"We've just got to continue concentrating on what we do and now worrying about others. If we carry that on we'll get out of trouble."
Blackpool caretaker boss Steve Thompson:
"I can't ask for any more from the players.
"It was disappointing for me that the two Barnsley goals came about following our corners - that certainly doesn't help you - but the sending-off changed the whole complexion of the game.
"I've spoken to Matt Gilks and he had a real decision to make. He came out to meet the lad, the ball has hit his rib and then struck his arm but he certainly didn't mean it."
Live Text Commentary
Full Time The referee brings the game to a close.90:00 +3:51
Thomas Ince concedes a free kick for a foul on Martin Cranie. Luke Steele restarts play with the free kick.90:00 +0:45
Inswinging corner taken left-footed by Thomas Ince from the right by-line, Luke Steele makes a save.87:04 Goal scored
Goal! - Jason Scotland - Blackpool 1 - 2 Barnsley A goal is scored by Jason Scotland from inside the six-yard box low into the middle of the goal. Blackpool 1-2 Barnsley.86:43
Jason Scotland takes a shot. Save by Mark Halstead.85:19
Matt Derbyshire has an effort at goal.84:43
Unfair challenge on Chris Basham by Kelvin Etuhu results in a free kick. Free kick taken by Stephen Crainey.82:48
Free kick awarded for a foul by Craig Cathcart on Chris Dagnall. Tom Kennedy shoots direct from the free kick, save made by Mark Halstead.81:16 Substitution
Substitution Tiago Gomes leaves the field to be replaced by Nathan Delfouneso.80:38
The referee blows for offside. Free kick taken by Luke Steele.80:16
Centre by Scott Golbourne, clearance by Craig Cathcart.79:37
The offside flag is raised against Tiago Gomes. Luke Steele takes the indirect free kick.78:40
The ball is crossed by Tiago Gomes, Effort from inside the six-yard box by Chris Basham goes wide right of the target.78:18
Unfair challenge on Angel Martinez by David Perkins results in a free kick. Angel Martinez restarts play with the free kick.76:45
Centre by Stephen Crainey, Header by Matt Derbyshire from deep inside the penalty area misses to the left of the goal.76:23
Foul by Scott Golbourne on Tiago Gomes, free kick awarded. Alex Baptiste takes the free kick.74:48
Corner taken by Thomas Ince, Matt Derbyshire has a headed effort at goal from close range which goes wide of the left-hand post.74:33
Centre by Chris Basham, blocked by Tom Kennedy.73:29
Corner taken by Tom Kennedy, save made by Alex Baptiste.72:19
Matt Derbyshire fouled by David Perkins, the ref awards a free kick. Angel Martinez restarts play with the free kick.
Scott Golbourne delivers the ball, Kirk Broadfoot manages to make a clearance.71:06
Tiago Gomes produces a right-footed shot from the edge of the box and misses to the left of the goal.70:11
The ball is sent over by Stephen Crainey, clearance made by Stephen Foster.68:38
Craig Cathcart takes the free kick.68:38 Substitution
Substitution Matt Derbyshire on for Gary Taylor-Fletcher.68:38
Free kick awarded for a foul by Tom Kennedy on Angel Martinez.68:25
Tom Kennedy produces a cross, Mark Halstead makes a save.67:03
Tom Kennedy takes a outswinging corner to the near post, clearance by Tiago Gomes.64:44
Direct effort from the free kick comes in from Tom Kennedy.64:44 Substitution
Substitution Mark Halstead comes on in place of Matt Phillips.64:44 Substitution
Substitution Marlon Harewood leaves the field to be replaced by Jason Scotland.64:44 Dismissal
Dismissal Matt Gilks receives a red card.64:29
Handball by Matt Gilks.63:01
The official flags Gary Taylor-Fletcher offside. Direct free kick taken by Luke Steele.62:32
The ball is swung over by Scott Golbourne, save by Matt Gilks.61:43
Alex Baptiste produces a cross, clearance by Martin Cranie.60:43 Substitution
Substitution Chris O'Grady on for Jim O'Brien.57:44
The ball is swung over by Stephen Crainey, clearance by Stephen Foster.56:57
Chris Basham sends in a cross.56:29
Unfair challenge on Chris Basham by Jim O'Brien results in a free kick. Chris Basham restarts play with the free kick.55:34
Unfair challenge on Chris Dagnall by Kirk Broadfoot results in a free kick. Free kick crossed by Tom Kennedy.54:35
Assist by Stephen Crainey.54:35 Goal scored
Goal! - Thomas Ince - Blackpool 1 - 1 Barnsley Thomas Ince gets on the score sheet with a goal from just inside the penalty area to the bottom right corner of the goal. Blackpool 1-1 Barnsley.54:29
Stephen Crainey produces a cross,53:39
Matt Gilks restarts play with the free kick.53:39 Substitution
Substitution Scott Wiseman on for Rory Delap.53:39
The official flags Marlon Harewood offside.53:21
Foul by Angel Martinez on Chris Dagnall, free kick awarded. Free kick taken by Tom Kennedy.52:01
Corner from the left by-line taken by Rory Delap, save made by Matt Gilks.51:03
Inswinging corner taken by Tiago Gomes, Stephen Foster manages to make a clearance. Effort on goal by Craig Cathcart from just inside the penalty box goes harmlessly over the target.50:01
Corner taken left-footed by Thomas Ince from the right by-line, Stephen Foster makes a clearance.48:37
David Perkins has an effort at goal from just outside the box which goes wide of the right-hand post.47:51
Short corner taken by Matt Phillips.46:58
Unfair challenge on Marlon Harewood by Kirk Broadfoot results in a free kick. Direct free kick taken by Scott Golbourne.45:53
Direct free kick taken by Luke Steele.45:53 Booking
Booking Alex Baptiste receives a yellow card.45:45
Free kick awarded for a foul by Alex Baptiste on Scott Golbourne.45:01
The referee gets the second half started.45:00 +1:14 Half time
Half Time The players leave the pitch at half time.45:00 +0:48
Free kick awarded for an unfair challenge on Scott Golbourne by Alex Baptiste. Free kick taken by Luke Steele.44:56
The ball is delivered by Matt Phillips.43:55
Drilled right-footed shot by Alex Baptiste. Blocked by Rory Delap.43:30
Corner taken left-footed by Thomas Ince, clearance by David Perkins.43:06
Corner taken by Thomas Ince from the right by-line to the near post, Martin Cranie manages to make a clearance.42:53
Short corner worked by Matt Phillips.42:42
Matt Phillips crosses the ball, blocked by Tom Kennedy.42:02
The ball is sent over by Matt Phillips, clearance by Rory Delap.39:11
The ball is delivered by Stephen Crainey, Stephen Foster gets a block in.38:25
Tom Kennedy fouled by Matt Phillips, the ref awards a free kick. Direct free kick taken by Luke Steele.37:16
Gary Taylor-Fletcher challenges Martin Cranie unfairly and gives away a free kick. Direct free kick taken by Luke Steele.37:09
The ball is delivered by Matt Phillips, Stephen Foster makes a clearance.36:42
Stephen Crainey delivers the ball, Martin Cranie makes a clearance.35:47
Thomas Ince produces a drilled left-footed shot from 18 yards. Stephen Foster gets a block in.35:37
Chris Basham produces a cross, clearance made by David Perkins.33:25
The assistant referee signals for offside against Marlon Harewood. Angel Martinez restarts play with the free kick.32:50
Effort on goal by David Perkins from just inside the box goes harmlessly over the target.32:25
Corner taken right-footed by Jim O'Brien to the near post, clearance by Chris Basham.30:38
Shot by Thomas Ince. Stephen Foster gets a block in.28:49
The ball is swung over by Marlon Harewood, Chris Basham makes a clearance.26:56
Shot by Tiago Gomes. Martin Cranie manages to make a clearance.26:38
Stephen Crainey sends in a cross, Jim O'Brien gets a block in.26:13
Free kick awarded for an unfair challenge on Thomas Ince by David Perkins. Free kick crossed right-footed by Tiago Gomes from right channel.24:52
Assist on the goal came from Marlon Harewood.24:52 Goal scored
Goal! - Jim O'Brien - Blackpool 0 - 1 Barnsley Jim O'Brien scores a goal from inside the penalty area to the bottom right corner of the goal. Blackpool 0-1 Barnsley.24:13
Inswinging corner taken left-footed by Thomas Ince played to the near post, clearance by Martin Cranie.23:56
Shot by Gary Taylor-Fletcher. David Perkins gets a block in.22:33
Tom Kennedy produces a cross, save by Matt Gilks.21:43
Alex Baptiste delivers the ball, clearance made by Rory Delap.21:04
Scott Golbourne produces a cross, Matt Gilks makes a save.20:30
Centre by Jim O'Brien, Craig Cathcart makes a clearance.19:45
Jim O'Brien takes a shot. Comfortable save by Matt Gilks.19:21
Unfair challenge on Chris Dagnall by Craig Cathcart results in a free kick. Tom Kennedy restarts play with the free kick.18:41
The ball is sent over by Matt Phillips.17:28
Tiago Gomes gives away a free kick for an unfair challenge on Kelvin Etuhu. Luke Steele takes the free kick.15:38
Corner from the right by-line taken by Thomas Ince, Chris Basham produces a header from close range which goes wide of the left-hand upright.15:13
Corner taken by Thomas Ince from the right by-line to the near post, clearance by Marlon Harewood.11:33
Corner taken left-footed by Tom Kennedy to the near post, Craig Cathcart makes a clearance.11:22
A cross is delivered by Rory Delap, Stephen Crainey gets a block in.9:45
Shot by Tiago Gomes from deep inside the penalty area misses to the right of the target.9:36
Tiago Gomes crosses the ball, clearance by Tom Kennedy.7:48
Matt Phillips crosses the ball.7:10
Angel Martinez fouled by Marlon Harewood, the ref awards a free kick. Direct free kick taken by Stephen Crainey.6:18
Corner taken left-footed by Thomas Ince from the right by-line to the near post, Gary Taylor-Fletcher takes a shot. Clearance by Stephen Foster.6:05
Thomas Ince sends in a cross, Tom Kennedy gets a block in.5:35
Tiago Gomes takes the chance to get an effort at goal. Luke Steele makes a save.4:41
Matt Phillips delivers the ball.4:08
Kelvin Etuhu gives away a free kick for an unfair challenge on Tiago Gomes. Alex Baptiste restarts play with the free kick.0:00
The match has kicked off.
Live data and text provided by our data suppliers