Match ends, York City 0, Bury 1.
Tom Soares scored the only goal as League Two side Bury earned their sixth win in seven games at York City.
Soares turned in from eight yards out after being picked out by Joe Riley's cross from the right flank.
Emile Sinclair missed from seven yards for the Minstermen, while Nicky Adams blazed over for the visitors.
Jake Hyde came closest to equalising when he found the side netting late on, but Bury survived to move within four points of an automatic promotion spot.
York City manager Russ Wilcox told BBC Radio York:
"I feel like I'm saying the same things week in week out. We're lacking quality, that's why we're not scoring goals.
"They score with their only shot on target and that makes it harder to take for everybody.
"Our work in the final third wasn't good enough. The lads are giving everything for the football club but we need more quality."
- 38ZubarSubstituted forMcCombeat 75'minutes
- 3IlesanmiSubstituted forHydeat 73'minutes
- 7CoulsonSubstituted forCarsonat 70'minutesBooked at 90mins
- 19De Girolamo
- 27CameronBooked at 39mins
- 8AdamsSubstituted forJonesat 57'minutes
- 4TutteSubstituted forHopeat 61'minutes
- 10MayorSubstituted forSedgwickat 81'minutes
- Andy Madley
- Shots on Target
Second Half ends, York City 0, Bury 1.
Jimmy McNulty (Bury) wins a free kick in the attacking half.
Foul by Jake Hyde (York City).
Attempt missed. Craig Jones (Bury) right footed shot from outside the box is close, but misses to the left.
Josh Carson (York City) is shown the yellow card.
Hallam Hope (Bury) wins a free kick on the right wing.
Foul by Josh Carson (York City).
Jake Hyde (York City) hits the left post with a right footed shot from a difficult angle on the left.
Attempt blocked. Diego De Girolamo (York City) right footed shot from the right side of the box is blocked.
Corner, York City. Conceded by Jimmy McNulty.
John McCombe (York City) wins a free kick in the attacking half.
Foul by Tom Eaves (Bury).
Foul by Shaquile Coulthirst (York City).
(Bury) wins a free kick in the attacking half.
Corner, York City. Conceded by Chris Hussey.
Substitution, Bury. Chris Sedgwick replaces Danny Mayor.
Attempt missed. Joe Riley (Bury) left footed shot from the centre of the box is close, but misses to the left.
Foul by Marvin McCoy (York City).
Kelvin Etuhu (Bury) wins a free kick on the left wing.