Match ends, Crawley Town 1, York City 0.
Crawley made it four wins out of five as Simon Walton's late penalty condemned managerless York to defeat.
Midfielder Walton found the bottom corner after Sonny Bradley had been bundled over in the box by Eddie Nolan.
Crawley's Rhys Murphy headed just over early on, while Vadaine Oliver forced goalkeeper Darryl Flahavan to save with his feet at the other end.
Shamir Fenelon brought the best out of York's Scott Flinders with a volley, but Walton's spot-kick sealed the win.
The visitors, who parted company with Russ Wilcox in midweek, have now failed to win for 10 league matches.
Crawley Town boss Mark Yates told BBC Surrey:
"I think it's just rewards for persevering and I thought we were the more likely side to win the game.
"We said before the game about the upheaval they have had with a new manager and they put in a good performance for the ones that have taken over.
"After the first 10 minutes, I felt we were always on the front foot, or trying to be, I'm just glad we got the goal.
"We've had a good month, we've shown a lot of signs of improvement and even when we don't play at our best, we can still grind things out."
York City caretaker manager Richard Cresswell told BBC Radio York:
"The outcome is not what we looked for, but the performance was absolutely fantastic.
"The lads did exactly what we said. We tried to cause them problems in the wide areas and we did that.
"It went down to what I'd say was a dubious decision from the referee which is hard to take.
"The lads put all the effort in and I think we deserved something out of this game today."
- 15FenelonSubstituted forDeaconat 87'minutes
- 18HarroldSubstituted forBarnardat 90+3'minutes
- 4BerrettBooked at 70mins
- 7CoulsonBooked at 90mins
- 6NolanBooked at 36mins
- 29SinclairSubstituted forTurnerat 77'minutes
- 9OliverBooked at 37mins
- Charles Breakspear
- Shots on Target
Second Half ends, Crawley Town 1, York City 0.
Michael Coulson (York City) is shown the yellow card for a bad foul.
Gwion Edwards (Crawley Town) wins a free kick in the defensive half.
Foul by Michael Coulson (York City).
Substitution, Crawley Town. Lee Barnard replaces Matt Harrold.
Foul by James Berrett (York City).
Roarie Deacon (Crawley Town) wins a free kick in the attacking half.
Foul by Marvin McCoy (York City).
Gwion Edwards (Crawley Town) wins a free kick on the left wing.
Substitution, Crawley Town. Roarie Deacon replaces Shamir Fenelon.
Goal! Crawley Town 1, York City 0. Simon Walton (Crawley Town) converts the penalty with a right footed shot to the bottom right corner.
Penalty conceded by Eddie Nolan (York City) after a foul in the penalty area.
Penalty Crawley Town. Sonny Bradley draws a foul in the penalty area.
Corner, Crawley Town. Conceded by Eddie Nolan.
Attempt saved. Shamir Fenelon (Crawley Town) right footed shot from the centre of the box is saved in the top centre of the goal.
Corner, York City. Conceded by Sonny Bradley.
Substitution, York City. Rhys Turner replaces Emile Sinclair.
Attempt missed. Rhys Murphy (Crawley Town) right footed shot from the left side of the box is close, but misses the top right corner.
Vadaine Oliver (York City) wins a free kick on the left wing.