Rochdale boss John Coleman admitted he was glad his first visit back to Accrington was over.
Coleman was manager at the Crown Ground for 13 years, leading them from the UniBond First Division to the Football League before leaving in January to join Dale. His return was a triumphant one, with the win coming courtesy of Jason Kennedy's wonder goal seven minutes from time.
"I had a fantastic time at Accrington and it was hard coming back. It was emotional and I am glad it's over now," said Coleman after his side's 3-2 victory.
"I do think Accrington deserved something out of the game though. We looked comfortable for the first 10 or 15 minutes but then we lost our way and Accrington came back into it. They played well.
"It was two mistakes for their goals. Joe Rafferty is only a young lad but made a mistake for their first and then Rommy Boco side-stepped Phil Edwards for the second. But we scored two good goals and a penalty. Jason Kennedy's goal was a worldy and that is four away wins on the bounce for us now."
Coleman's team made a dream start with George Donnelly putting them ahead with less than 30 seconds on the clock. Ashley Grimes made it 2-0 from the penalty spot after 32 minutes following Toto Nsiala's desperate lunge on Dele Adebola inside the area.
Piero Mingoia, on loan from Watford, pulled a goal back before half-time before an error from Dale goalkeeper Josh Lillis, who let Rommy Boco's 35-yard effort slip through his hands, gifted Accrington an equaliser.
The game could have gone either way after that but Kennedy was allowed space to run from midfield and he fired home from 25 yards with seven minutes remaining.
Stanley boss Paul Cook, who played for Accrington under Coleman, was gutted his side had nothing to show for their efforts after showing tremendous character to get back into the game.
"I am bitterly disappointed that we lost," said Cook. "We were 2-0 down before we knew it and then we got back into the game. For them to score a late goal was heartbreaking. We showed great character to come back from 2-0 down to make it 2-2, but to then lose it was hard to take."