Matty Lund scored a hat-trick as Rochdale twice came from behind to beat Northampton.
Dale had the better of the opening exchanges, Ian Henderson firing wide and Oliver Rathbone shooting over.
In between Sam Hoskins saw his effort deflected wide for the Cobblers, who took a 16th-minute lead when Matt Taylor curled in a 25-yard free-kick which beat Conrad Logan at his near post.
Dale were back on level terms three minutes later when the home side failed to clear Joe Bunney's low cross and Lund turned the ball in from close.
The visitors got on top but Northampton had the better chances. Alex Revell seeing a goalbound header blocked, Taylor flashing another free-kick wide and Jak McCourt firing over.
Rochdale responded and had a couple of opportunities before the break. with Henderson shooting past the near post and Steven Davies heading wide from a good position.
After the restart Logan foiled John-Joe O'Toole with a reflex save but Rathbone missed an easy header for Dale.
The hosts regained the lead in the 57th minute when substitute Marc Richards sent Sam Hoskins away and he beat the advancing Logan. But Dale equalised in the 63rd minute when the Cobblers failed to clear and Lund fired home from 15 yards.
Lund completed his hat-trick four minutes later, securing victory when he outjumped David Cornell to head home Bunney's cross with Northampton appealing for a foul on the keeper.
Report supplied by the Press Association