Match ends, Rochdale 2, Accrington Stanley 1.
Matty Lund headed a late winner to keep Rochdale among the automatic promotion contenders with victory against relegation-threatened Accrington.
Stanley's Piero Mingoia broke the deadlock for James Beattie's visitors with a fine volley from 20 yards.
Rochdale equalised when Dean Winnard's attempt to head clear a Joe Rafferty cross hit Lund in the face and flew past goalkeeper Marcus Bettinelli.
Dale won it in stoppage time when Lund nodded home from close range.
Rochdale manager Keith Hill told BBC Radio Manchester:
"It's a strange game, wasn't it? But at the end of the day it's about results, and we got the right result.
"I was very close to making three substitutes when we scored [the equaliser].
"I suppose we got two scruffy ones but I'll take them all day, every day."
Accrington manager James Beattie told BBC Radio Lancashire:
"The lads were tremendous and we were better for large periods. We haven't got what we deserved from the game - the performance deserved something.
"Piero scored an amazing goal and they changed their tactics. They scored one of the luckiest goals I've ever seen to get back into the game and then there's a sucker punch at the end."
- 40HendersonSubstituted forBunneyat 84'minutes
- 24AllenSubstituted forVincentiat 90+3'minutesBooked at 90mins
- 29CumminsSubstituted forDonnellyat 78'minutes
- 23BuxtonSubstituted forOdejayiat 90+3'minutes
- 2MurphyBooked at 68mins
- 15MingoiaSubstituted forWindassat 90+1'minutes
- 17GraySubstituted forNaismithat 83'minutes
- Andy D'Urso
- Shots on Target
Second Half ends, Rochdale 2, Accrington Stanley 1.
Peter Vincenti (Rochdale) is shown the yellow card.
Foul by Peter Vincenti (Rochdale).
Lee Molyneux (Accrington Stanley) wins a free kick on the left wing.
Substitution, Rochdale. Peter Vincenti replaces Jamie Allen.
Substitution, Accrington Stanley. Kayode Odejayi replaces Adam Buxton.
Goal! Rochdale 2, Accrington Stanley 1. Joe Bunney (Rochdale) header from the centre of the box to the high centre of the goal.
Corner, Rochdale. Conceded by Marcus Bettinelli.
Attempt saved. Matthew Lund (Rochdale) right footed shot from the centre of the box is saved in the top left corner.
Substitution, Accrington Stanley. Josh Windass replaces Piero Mingoia.
Hand ball by Kal Naismith (Accrington Stanley).
Attempt missed. Matthew Lund (Rochdale) right footed shot from outside the box misses to the right.
Foul by George Donnelly (Rochdale).
Adam Buxton (Accrington Stanley) wins a free kick on the left wing.
Substitution, Rochdale. Joe Bunney replaces Ian Henderson.
Substitution, Accrington Stanley. Kal Naismith replaces James Gray.
Attempt missed. James Gray (Accrington Stanley) left footed shot from outside the box is too high.
Michael Rose (Rochdale) wins a free kick in the defensive half.
Foul by Piero Mingoia (Accrington Stanley).