Match ends, Bristol Rovers 2, York City 1.
Matt Taylor scored a stoppage time winner as Bristol Rovers came back from a goal down to beat struggling York.
The visitors, who have not won in the league since 5 September, took a first-half lead when Vadaine Oliver buried a volley from eight yards.
Substitute Jermaine Easter got the equaliser with his first touch heading in a deflected free-kick.
Taylor got the winner after chesting down a Jake Gosling cross and shooting past Minstermen keeper Scott Flinders.
The winning goal was Taylor's 14th of the season whilst the defeat extends York's losing run to nine matches in all competitions.
York City manager Jackie McNamara told BBC Radio York:
"I'm disappointed losing with a late goal like that.
"The equaliser as well was a bit unfortunate, taking a deflection from a free-kick.
"But in the second half you could see we were very nervous because we hadn't won for a while and I thought that reflected in our play.
"We probably rushed things, didn't take care with our passing. We got nervy and deeper, put ourselves under a lot of pressure at times and Bristol pushed men forwards."
- 15J ClarkeSubstituted forLeadbitterat 55'minutes
- 29Cowan-HallSubstituted forGoslingat 55'minutes
- 23BodinSubstituted forEasterat 70'minutes
- 10TaylorBooked at 45mins
- 8O Clarke
- 1FlindersBooked at 66mins
- 35O'ConnorBooked at 73mins
- 3IlesanmiBooked at 17mins
- 8SummerfieldSubstituted forGodfreyat 88'minutes
- 33McEvoySubstituted forStrakerat 56'minutes
- 32FewsterSubstituted forGalbraithat 68'minutes
- Ben Toner
- Shots on Target
Second Half ends, Bristol Rovers 2, York City 1.
Goal! Bristol Rovers 2, York City 1. Matty Taylor (Bristol Rovers) right footed shot from the right side of the six yard box to the bottom left corner. Assisted by Jake Gosling.
Foul by Jermaine Easter (Bristol Rovers).
Russell Penn (York City) wins a free kick on the left wing.
Substitution, York City. Ben Godfrey replaces Luke Summerfield.
Attempt missed. Vadaine Oliver (York City) right footed shot from outside the box misses to the right.
Foul by Tom Lockyer (Bristol Rovers).
Vadaine Oliver (York City) wins a free kick in the attacking half.
Attempt missed. Lee Brown (Bristol Rovers) left footed shot from outside the box is too high.
Corner, Bristol Rovers. Conceded by Femi Ilesanmi.
Foul by Jake Gosling (Bristol Rovers).
Femi Ilesanmi (York City) wins a free kick in the attacking half.
Lee Mansell (Bristol Rovers) wins a free kick in the attacking half.
Foul by Russell Penn (York City).
Foul by Matty Taylor (Bristol Rovers).
Dave Winfield (York City) wins a free kick in the attacking half.
Corner, Bristol Rovers. Conceded by Dave Winfield.
Daniel Leadbitter (Bristol Rovers) wins a free kick in the attacking half.
Foul by Daniel Galbraith (York City).