Jennison Myrie-Williams and Lee Hughes hit the goals as promotion-chasing Port Vale won at York to end their winless run with a first victory in six games.
Myrie-Williams, who had not scored since 5 January, fired Vale ahead from inside the box in the seventh minute.
Hughes then tucked away the clinching second from close range, after Myrie-Williams missed from the penalty spot.
Vale's win, coupled with Burton letting two points slip at Dagenham, lifts Micky Adams' men back into second.
They are also back to within four points of League Two leaders Gillingham, who were also held to a draw at Morecambe.
York, now just a point clear of danger after their 14th game without a win, handed a debut to new Ipswich Town loan signing Josh Carson.
Vale were without suspended pair Sam Morsy and Doug Loft, while Ryan Burge, facing disciplinary action for his behaviour after the midweek loss to Bristol Rovers, was also missing.
But, for top scorer Tom Pope, League Two's leading marksman with 25 goals, it is now 11 matches since he last found the net.
VIEW FROM THE DRESSING ROOM
York City manager Nigel Worthington told BBC Radio York:
"Decision making, energy, all the good things that you require in football - we didn't have it.
"But it's the third game, you're learning all the time about the players and what I have done today is learnt a hell of a lot about the group here and started to understand why they are in the position they are in.
"What we've got in there we've got in there and we've got to pull together to get ourselves out of the situation that we've come to find ourselves in."
Live Text Commentary
Full Time The referee blows for the end of the match.90:00 +0:44 Substitution
Substitution Chris Shuker on for Louis Dodds.89:04
Free kick awarded for an unfair challenge on John McGrath by Anthony Griffith. Free kick taken by Michael Ingham.87:58
Corner taken by Matty Blair, clearance made by Robert Taylor.87:25
Inswinging corner taken by John McGrath from the left by-line.85:28 Substitution
Substitution (Port Vale) makes a substitution, with Calvin Andrew coming on for Jennison Myrie-Williams.85:28
Short corner taken by Chris Birchall.85:17
Ben Williamson takes a shot. Chris Smith gets a block in.84:39
Adam Yates fouled by Jamie Reed, the ref awards a free kick. Chris Neal takes the direct free kick.84:03
Headed effort from deep inside the penalty area by Tom Pope misses to the left of the goal.79:44
Corner taken left-footed by John McGrath, Chris Smith takes a shot. John McCombe gets a block in. Outswinging corner taken left-footed by John McGrath from the left by-line, Headed effort from deep inside the penalty area by Chris Smith goes harmlessly over the crossbar.78:54
Free kick awarded for an unfair challenge on Daniel Parslow by Tom Pope. Michael Ingham restarts play with the free kick.77:27 Substitution
Substitution Patrick McLaughlin on for Jamal Fyfield.76:33 Substitution
Substitution Ben Williamson is brought on as a substitute for Lee Hughes.76:21 Booking
Booking Chris Neal receives a yellow card.76:04
Shot from deep inside the area by Jamie Reed goes over the bar.75:02
Matty Blair produces a cross, blocked by Lee Hughes.74:33
John McGrath takes a shot. Anthony Griffith gets a block in.74:25
Michael Rankine produces a cross, Chris Birchall manages to make a clearance.73:25
The ball is delivered by Daniel Parslow, clearance by Louis Dodds.
Scott Kerr challenges Anthony Griffith unfairly and gives away a free kick. Chris Neal takes the free kick.66:30
The ball is sent over by Jamie Reed, clearance made by Adam Yates.64:17
Free kick awarded for an unfair challenge on John McGrath by Louis Dodds. Direct free kick taken by John McGrath.63:53
Foul by Lee Hughes on Chris Smith, free kick awarded. Free kick taken by Michael Ingham.63:38 Booking
Booking Lee Hughes is cautioned by the ref for unsporting behaviour.62:09
Free kick awarded for a foul by Tom Pope on Michael Ingham. Michael Ingham takes the free kick.61:20
Tom Pope fouled by Jamal Fyfield, the ref awards a free kick. Jennison Myrie-Williams takes the free kick.60:31 Substitution
Substitution Matty Blair replaces Ashley Chambers.60:31
The referee blows for offside. Chris Neal restarts play with the free kick.59:28
Daniel Parslow fouled by Tom Pope, the ref awards a free kick. Jack O'Connell takes the direct free kick.57:59
Jennison Myrie-Williams is penalised for handball and concedes a free kick. Michael Ingham takes the free kick.55:49
Michael Rankine has a headed effort at goal from just inside the penalty area that misses to the left of the goal.54:41
Foul by Chris Smith on Tom Pope, free kick awarded. Liam Chilvers takes the direct free kick.54:09
Jamal Fyfield delivers the ball, Liam Chilvers makes a clearance.52:50
Lee Hughes is flagged offside by the assistant referee. Michael Ingham takes the indirect free kick.51:52
Robert Taylor gives away a free kick for an unfair challenge on Michael Rankine. John McGrath restarts play with the free kick.47:22
Assist by Jennison Myrie-Williams.47:22 Goal scored
Goal! - Lee Hughes - York 0 - 2 Port Vale Goal scored by Lee Hughes from inside the six-yard box to the bottom right corner of the goal. York 0-2 Port Vale.47:12
Jennison Myrie-Williams delivers the ball,45:01
The game restarts for the second half.45:01 Substitution
Substitution Jamie Reed replaces Jason Walker.45:00 +2:44 Half time
Half Time The ref blows to end the first period.45:00 +2:05
Corner taken by Jennison Myrie-Williams, save by Michael Ingham.45:00 +1:42
Corner taken by John McGrath from the right by-line to the near post, Anthony Griffith makes a clearance.45:00 +1:23
John McGrath takes a shot. Blocked by Chris Birchall.44:48
John McGrath takes the direct free kick.44:48 Booking
Booking Chris Birchall is cautioned.44:40
Free kick awarded for an unfair challenge on Josh Carson by Chris Birchall.43:56
Inswinging corner taken from the right by-line by Jennison Myrie-Williams.43:22
The ball is swung over by Chris Birchall, Daniel Parslow manages to make a clearance.42:47
Chris Birchall fouled by Michael Rankine, the ref awards a free kick. Direct free kick taken by Liam Chilvers.41:59
Free kick awarded for a foul by Jamal Fyfield on Anthony Griffith. Chris Neal restarts play with the free kick.40:46
Inswinging corner taken from the left by-line by Ashley Chambers, clearance by Lee Hughes.38:14
Ashley Chambers produces a right-footed shot from inside the area that clears the crossbar.37:07
Adam Yates sends in a cross, Michael Ingham makes a save.36:22
Lee Hughes produces a header from the edge of the box and misses to the left of the target.35:41
Jennison Myrie-Williams takes a shot. Save by Michael Ingham.33:58
Inswinging corner taken by Jennison Myrie-Williams from the right by-line, Jamal Fyfield manages to make a clearance.29:17
Scott Kerr takes a shot. Chris Neal makes a save. Inswinging corner taken left-footed by John McGrath, Liam Chilvers manages to make a clearance.26:34 Penalty
Placed penalty taken by Jennison Myrie-Williams saved by Michael Ingham. York 0-1 Port Vale.25:43
Foul by Jamal Fyfield on Lee Hughes, Penalty awarded.24:35
The referee blows for offside. Chris Neal takes the free kick.23:54
Michael Rankine fouled by John McCombe, the ref awards a free kick. Direct free kick taken by John McGrath.23:08
Free kick awarded for a foul by Lee Hughes on Jamal Fyfield. Jamal Fyfield restarts play with the free kick.22:23
John McGrath takes a shot. Liam Chilvers gets a block in.21:43
The ball is crossed by Robert Taylor, clearance by John McGrath.20:56
Lee Hughes challenges Jamal Fyfield unfairly and gives away a free kick. Michael Ingham takes the free kick.20:04
Effort from the edge of the penalty area by Lee Hughes goes wide of the left-hand post.19:38
The ball is crossed by Jennison Myrie-Williams, Michael Ingham makes a save.19:10
Adam Yates produces a cross, clearance by Daniel Parslow.16:10
Scott Kerr gives away a free kick for an unfair challenge on Jennison Myrie-Williams. Free kick taken by Chris Birchall. Jennison Myrie-Williams takes a outswinging corner from the left by-line played to the near post.13:15
Lee Hughes is flagged offside by the assistant referee. Michael Ingham takes the free kick.10:10
Lee Hughes has an effort at goal. Save made by Michael Ingham. Jennison Myrie-Williams gives away a free kick for an unfair challenge on Ashley Chambers. Direct free kick taken by John McGrath.8:08
Jennison Myrie-Williams challenges Jason Walker unfairly and gives away a free kick. Strike comes in from John McGrath from the free kick.6:44 Goal scored
Goal! - Jennison Myrie-Williams - York 0 - 1 Port Vale Jennison Myrie-Williams scores a goal from inside the penalty area to the bottom right corner of the goal. York 0-1 Port Vale.6:22
Chris Smith takes a shot. Save by Chris Neal.5:48
Unfair challenge on Michael Rankine by Adam Yates results in a free kick. Jamal Fyfield takes the free kick.4:51
Jason Walker crosses the ball.2:44
The assistant referee flags for offside against Lee Hughes. Michael Ingham restarts play with the free kick.1:48
The ball is crossed by Louis Dodds.0:00
The match has kicked off.
Live data and text provided by our data suppliers