Match ends, Rochdale 1, Stockport County 2.
National League side Stockport County held on to pull off an upset to defeat League One club Rochdale and go through to the FA Cup second round.
John Rooney put the Hatters ahead with a strike from inside his own half that caught out Dale keeper Gavin Bazunu.
Alex Reid doubled their lead seven minutes later after turning in from Connor Jennings' long-range shot.
Matty Lund headed home from Alex Newby's cross to put Rochdale back in it but the non-league side held on.
Rooney, brother of Derby County striker and all-time record England goalscorer Wayne, pulled off an audacious strike that echoed that of his sibling's long-range efforts for Manchester United and DC United in the first half.
The victory means that Stockport progress to the second round for the second time in three seasons - however, they almost did not reach the first round at all.
The Hatters were initially knocked out at the fourth qualifying round stage by fellow National League side Chesterfield in October.
But, due to the Spireites being found guilty of fielding an ineligible player in that tie, the fixture was replayed earlier this week, with Rooney scoring twice as Stockport won 4-0.
- 3BolaSubstituted forDooleyat 74'minutes
- 20RyanSubstituted forTavaresat 72'minutes
- 18CroasdaleSubstituted forWilliamsat 75'minutes
- 8RooneySubstituted forMaynardat 69'minutes
- 19ReidSubstituted forBrittonat 86'minutes
- Scott Oldham
- Shots on Target
Second Half ends, Rochdale 1, Stockport County 2.
Attempt missed. Jake Beesley (Rochdale) left footed shot from the centre of the box is too high.
Corner, Rochdale. Conceded by Ashley Palmer.
Substitution, Stockport County. Louis Britton replaces Alex Reid.
Attempt saved. Matthew Lund (Rochdale) header from the centre of the box is saved in the centre of the goal.
Attempt saved. Oliver Rathbone (Rochdale) left footed shot from outside the box is saved in the bottom right corner.
Foul by Jake Beesley (Rochdale).
Jordan Keane (Stockport County) wins a free kick in the attacking half.
Corner, Rochdale. Conceded by Jordan Keane.
Corner, Stockport County. Conceded by Jimmy Keohane.
Corner, Stockport County. Conceded by Gavin Bazunu.
Attempt saved. Alex Reid (Stockport County) left footed shot from the left side of the box is saved in the bottom left corner.
Substitution, Stockport County. Jordan Williams replaces Ryan Croasdale.
Substitution, Rochdale. Stephen Dooley replaces Tolaji Bola.
Substitution, Rochdale. Fabio Tavares replaces Jimmy Ryan.
Attempt missed. Jimmy Ryan (Rochdale) right footed shot from more than 35 yards is too high.
Foul by Jordan Keane (Stockport County).
Oliver Rathbone (Rochdale) wins a free kick on the left wing.
Attempt saved. Connor Jennings (Stockport County) right footed shot from outside the box is saved in the centre of the goal.