Accrington rescued a priceless point in stoppage time as they salvaged a dramatic draw at relegation rivals York - who remain in the bottom two.
After several chances and some fine goalkeeping, York made the breakthrough in first-half injury time as Adam Reed calmly slotted the ball home.
Accrington came close to levelling late on as Michael Coulson blocked an effort from ex-England man James Beattie.
But Peter Murphy did rescue a point, bundling in a Lee Molyneux corner.
The result means Accrington, who have scored injury-time goals in their past three games, are two points above the drop zone.
York, meanwhile, are in the bottom two on goal difference, with Torquay above them also on 46 points.
However, bottom-of-the-table Aldershot are just two points behind the pair and have two games in hand.
VIEWS FROM THE DRESSING ROOM
York City manager Nigel Worthington told BBC Radio York:
"You knew that they would be throwing things in around the box and 99.9% of the time we dealt with it, but unfortunately with 5 minutes of extra time - I don't know where it came from - low and behold they got a goal, which is disappointing.
"But we're still in the race and that's the big thing I think.
"Three big games in seven days is tough for anybody, but the effort that the players put in is phenomenal and you could see some of them today were running on the red light."
Accrington manager Leam Richardson told BBC Radio Lancashire:
"It's a huge point. Come the end of the season, you'll realise how big that point is.
"The spectacle wasn't great and we didn't come out of the traps at all in the first half.
"But we took the game to them in the second half and I thing we deserved a point in the end."
Sorry, we were unable to load match stats, please try again.
Live Text Commentary
Full Time The referee blows his whistle to end the game.90:00 +6:50
Inswinging corner taken by Adam Reed.90:00 +5:54
Daniel Parslow has a headed effort at goal from close range which goes wide left of the target.90:00 +5:10
Free kick awarded for an unfair challenge on Lanre Oyebanjo by Marcus Carver. Lanre Oyebanjo restarts play with the free kick.90:00 +4:15 Substitution
Substitution Jason Walker is brought on as a substitute for Richard Cresswell.90:00 +3:21
Assist on the goal came from Laurence Wilson.90:00 +3:21 Goal scored
Goal! - Peter Murphy - York 1 - 1 Accrington Peter Murphy grabs a goal from inside the six-yard box to the bottom left corner of the goal. York 1-1 Accrington Stanley.90:00 +2:34
Inswinging corner taken from the right by-line by Laurence Wilson,90:00 +2:12
James Beattie takes a shot. Blocked by Lanre Oyebanjo.90:00 +1:22
Lee Molyneux takes the inswinging corner, clearance by Lanre Oyebanjo.90:00 +1:08
The ball is delivered by Laurence Wilson.89:46
The ball is crossed by Laurence Wilson, Michael Ingham makes a save.87:33
The ball is crossed by James Beattie, clearance by Chris Smith.84:54
Free kick awarded for an unfair challenge on Lanre Oyebanjo by James Beattie. Direct free kick taken by Michael Ingham.82:54 Substitution
Substitution Matty Blair joins the action as a substitute, replacing Ashley Chambers.82:03
Inswinging corner taken right-footed by Richard Cresswell from the right by-line, clearance made by Peter Murphy.81:53
The ball is delivered by Ashley Chambers, clearance made by Peter Murphy.81:05
Adam Reed has an effort at goal from just inside the box that misses to the left of the target.77:34 Substitution
Substitution Will Hatfield goes off and Marcus Carver comes on.77:13 Substitution
Substitution Romuald Boco leaves the field to be replaced by Craig Lindfield.
Jack O'Connell fouled by George Miller, the ref awards a free kick. Michael Ingham takes the free kick.74:34
Shot comes in from Josh Carson from the free kick, save made by Paul Rachubka.74:34 Booking
Booking The referee books Tom Aldred for unsporting behaviour.74:17
Handball decision goes against Tom Aldred.73:25
Peter Murphy produces a cross.72:33
Adam Reed challenges James Beattie unfairly and gives away a free kick. Peter Murphy takes the direct free kick.72:03
The assistant referee flags for offside against James Beattie. Indirect free kick taken by Michael Ingham.71:08
Richard Cresswell produces a cross, clearance made by Dean Winnard.68:28
Michael Coulson takes a shot. Save by Paul Rachubka.66:39
Corner taken left-footed by Josh Carson from the right by-line, save made by Paul Rachubka.65:54
Inswinging corner taken by Ashley Chambers from the left by-line, Chris Smith takes a shot. Peter Murphy gets a block in.65:18
Lee Molyneux crosses the ball.64:55
Corner from the right by-line taken by Romuald Boco, Lanre Oyebanjo makes a clearance.64:41
James Beattie takes a shot. Blocked by Lanre Oyebanjo.61:28
Shot on goal by Michael Coulson from just inside the area goes over the target.61:21
Centre by Tom Platt, Luke Joyce makes a clearance.59:23
Richard Cresswell takes a shot.57:14
Inswinging corner taken from the right by-line by Laurence Wilson.54:59
Unfair challenge on Richard Cresswell by Tom Aldred results in a free kick. The ball is swung over by Josh Carson, Headed effort from close range by Lanre Oyebanjo goes wide left of the goal.50:30
The assistant referee flags for offside against James Beattie. Free kick taken by Michael Ingham.48:24
Shot from deep inside the area by Ashley Chambers clears the bar.47:38
Unfair challenge on Chris Smith by James Beattie results in a free kick. Adam Reed takes the direct free kick.45:01
The referee gets the second half underway.45:01 Substitution
Substitution George Miller on for Padraig Amond.45:01 Substitution
Substitution David McGurk goes off and Michael Coulson comes on.45:00 +3:41 Half time
Half Time The match has reached half-time.45:00 +2:58
Inswinging corner taken right-footed by Romuald Boco played to the near post, clearance by David McGurk.45:00 +0:42
Assist by Lanre Oyebanjo.45:00 +0:42 Goal scored
Goal! - Adam Reed - York 1 - 0 Accrington Adam Reed scores a goal from deep inside the penalty box low into the middle of the goal. York 1-0 Accrington Stanley.44:04
Ashley Chambers takes a inswinging corner from the right by-line played to the near post.43:57
Ashley Chambers sends in a cross, Peter Murphy manages to make a clearance.42:59
Free kick awarded for an unfair challenge on Tom Aldred by Ashley Chambers. Free kick taken by Paul Rachubka.38:15
Tom Platt gives away a free kick for an unfair challenge on Will Hatfield. Free kick taken by Dean Winnard.37:18
Richard Cresswell concedes a free kick for a foul on Romuald Boco. Peter Murphy restarts play with the free kick.35:14
Jack O'Connell crosses the ball.33:55
The offside flag is raised against Chris Smith. Paul Rachubka restarts play with the free kick.33:15
James Beattie challenges Tom Platt unfairly and gives away a free kick. Adam Reed takes the free kick.32:05
The offside flag is raised against Richard Cresswell. Paul Rachubka restarts play with the free kick.30:46
Free kick awarded for a foul by David McGurk on Peter Murphy. Shot on goal comes in from Lee Molyneux from the free kick, save made by Michael Ingham.28:59
Free kick awarded for an unfair challenge on Laurence Wilson by Richard Cresswell. Direct free kick taken by Paul Rachubka.27:19
Shot from deep inside the area by Josh Carson clears the crossbar.27:11
Lanre Oyebanjo produces a cross, Peter Murphy makes a clearance.26:26
Daniel Parslow produces a right-footed shot from the edge of the area and misses to the left of the goal.25:52
Josh Carson takes a shot. Romuald Boco gets a block in.23:39
Tom Platt takes a shot. Blocked by Peter Murphy.23:03
Corner taken by Ashley Chambers from the left by-line, clearance made by Luke Joyce.21:57
The ball is delivered by Lee Molyneux, save by Michael Ingham.17:19
James Beattie challenges Jack O'Connell unfairly and gives away a free kick. Michael Ingham takes the direct free kick.15:50
Jack O'Connell takes a shot. Paul Rachubka makes a save.15:34
Ashley Chambers takes a inswinging corner.15:13
Ashley Chambers takes a shot. Save by Paul Rachubka. Josh Carson takes a shot. Luke Joyce gets a block in.14:21
Richard Cresswell produces a right-footed shot from just outside the box that goes wide right of the target.13:10
Josh Carson has an effort at goal from outside the penalty box missing to the wide left of the goal.11:26
Ashley Chambers takes a corner.10:26
David McGurk fouled by Lee Molyneux, the ref awards a free kick. Richard Cresswell takes the free kick.8:58
The referee gives a free kick against Richard Cresswell for handball. Paul Rachubka takes the free kick.7:47
Outswinging corner taken by Lee Molyneux. Will Hatfield is flagged offside by the assistant referee. Free kick taken by Michael Ingham.6:26
Inswinging corner taken from the right by-line by Adam Reed, Peter Murphy manages to make a clearance. Clearance made by Luke Joyce.6:07
Corner from the right by-line taken by Ashley Chambers, clearance made by Peter Murphy.5:33
Inswinging corner taken by Ashley Chambers from the right by-line, Richard Cresswell takes a shot. Save made by Paul Rachubka.5:20
Adam Reed takes a shot. Save by Paul Rachubka.3:35
Dean Winnard fouled by Josh Carson, the ref awards a free kick. Peter Murphy restarts play with the free kick.2:41
James Beattie gives away a free kick for an unfair challenge on Chris Smith. Michael Ingham takes the free kick.2:10
The ball is delivered by Lanre Oyebanjo.0:00
The game kicks-off.
Live data and text provided by our data suppliers