Over the years no club has been more successful at Spotland than York City, and thanks to a 71st minute goal by Peter Duffield they did it again.
York, with a solid defence and an enthusiastic front line, deserved the points bur Rochdale's defeat leaves them looking towards the bottom of the league instead of the top as they were not too many weeks ago.
York were lively throughout and lady luck played a part in keeping Rochdale level at the interval although goalkeeper Neil Edwards had to be at his best to keep the scoreline goalless.
He made several good saves and full-back Wayne Evans also helped him by blocking two shots and kicking one effort off the line.
It seemed that a goal had to come and it finally arrived in the 71st minute when the unmarked Duffield was allowed to head home a Graham Potter corner.
In the closing stages Dale pushed hard for an equaliser but they were denied by Alan Fettis, Chris Smith and Stuart Wise as the Minstermen secured a deserved victory.
Clive Platt looked dangerous for the hosts who were a pale shadow of the team that beat Peterborough in the FA Cup last week.
Player-boss Paul Simpson brought on two strikers for the last few minutes but even with four strikers on, Dale could not break down the York rearguard