Gary Jones's stoppage-time penalty was enough to beat Bournemouth and move Rochdale off the bottom of the League One table.
The Cherries' Stephen Purches was stretchered off with a serious leg injury in the first half.
Wes Thomas and Matt Tubbs went close for the visitors, while Jones and Kevin Long forced saves from Darryl Flahavan.
The game looked destined for a draw until Dan Strugnell pushed Joe Thompson, leaving Jones to lash home.
Rochdale have now won two games on the bounce, but remain four points from safety.
Bournemouth missed an opportunity to close in on the play-off places, and stay four points adrift of sixth-placed Stevenage having played four more games.
VIEWS FROM THE DRESSING ROOM
Rochdale manager John Coleman told BBC Radio Manchester:
"I think on the balance of play we just about deserved to win.
"We said to the lads we've got to keep knocking on the door and eventually it will open for us and it did, albeit so late.
"I think in the three games we've played we've defended really well but we've got a lot of games to go we've got to defend well in.
"We've got a long, long way to go and every game we play from now until the end of the season is going to be difficult."
Lee Bradbury tells BBC Radio Solent Sport:
"I think we should have at least had a point out of the game. But I looked at the penalty decision and I think it's a penalty.
"The most disappointing thing is coming here and getting anything. We rolled our sleeves up for periods of the game but not the whole game.
"It's going to be difficult with teams above us with games in hand - we're relying on them to slip up.
"You have got to go to the hard places and get results."
Sorry, we were unable to load match stats, please try again.
Live Text Commentary
Full Time The final whistle is blown by the referee.90:00 +3:05
Free kick taken by Joe Widdowson.90:00 +3:05 Substitution
Substitution Stephen Jordan on for Nicky Adams.90:00 +3:05
Marc Pugh concedes a free kick for a foul on Nicky Adams.90:00 +1:36 Booking
Booking Harry Arter goes into the referee's book for unsporting behaviour.90:00 +1:34 Goal scored
Goal! - Gary Jones - Rochdale 1 - 0 Bournem'th Gary Jones scores a placed penalty. Rochdale 1-0 Bournemouth.90:00 +0:35
Penalty awarded for an unfair challenge on Joe Thompson by Dan Strugnell.89:56
Ashley Grimes takes a shot. Save by Darryl Flahavan.88:36
Harry Arter gives away a free kick for an unfair challenge on Gary Jones. Brian Barry-Murphy restarts play with the free kick.87:25
Corner taken by Marc Pugh from the right by-line, Kevin Amankwaah manages to make a clearance.87:12
The ball is sent over by Scott Malone.86:10
Centre by Brian Barry-Murphy, Effort on goal by Nicky Adams from just outside the area goes harmlessly over the target.84:57
Corner taken right-footed by Jason Kennedy.84:57 Substitution
Substitution (Bournemouth) makes a substitution, with Steve Fletcher coming on for Donal McDermott.84:57 Substitution
Substitution Scott Malone replaces Matthew Tubbs.82:38
Brian Barry-Murphy restarts play with the free kick.82:38 Booking
Booking Simon Francis is cautioned by the ref for unsporting behaviour.82:19
Foul by Simon Francis on Nicky Adams, free kick awarded.80:19
The referee gives a free kick against Wesley Thomas for handball. Kevin Amankwaah takes the direct free kick.78:14
The referee blows for offside against Joe Widdowson. Darryl Flahavan takes the indirect free kick.
The assistant referee flags for offside against Joe Thompson. Darryl Flahavan restarts play with the free kick.75:56
The ball is delivered by Marc Pugh, Header from deep inside the area by Charlie Daniels goes over the bar.75:20
Inswinging corner taken from the left by-line by Marc Pugh.75:01
Foul by Brian Barry-Murphy on Harry Arter, free kick awarded. Harry Arter restarts play with the free kick.74:29 Substitution
Substitution Jean-Louis Akpa Akpro goes off and Joe Thompson comes on.72:21
Jean-Louis Akpa Akpro concedes a free kick for a foul on Charlie Daniels. Direct free kick taken by Stephane Zubar.70:18
Inswinging corner taken left-footed by Brian Barry-Murphy played to the near post.69:13
Shaun MacDonald fouled by Joe Widdowson, the ref awards a free kick. Charlie Daniels delivers the ball from the free kick left-footed from right wing.67:41
The ball is crossed by Marc Pugh, clearance by Kevin Long.67:11
The ball is swung over by Nicky Adams.65:02
Corner taken by Jason Kennedy played to the near post, Marc Pugh makes a clearance.64:39
Joe Widdowson takes a shot from inside the box clearing the bar.64:01
Jason Kennedy takes a short corner.63:43
Nicky Adams takes a shot. Darryl Flahavan makes a save.63:11
The ball is crossed by Nicky Adams, Dan Strugnell manages to make a clearance.62:43
Nicky Adams takes a short corner.61:52
Effort from deep inside the area by Matthew Tubbs misses to the right of the target.60:30
Wesley Thomas concedes a free kick for a foul on Kevin Amankwaah. Stephen Darby restarts play with the free kick.60:12
Gary Jones handles the ball and concedes a free kick. Direct free kick taken by Stephane Zubar.58:41
Jean-Louis Akpa Akpro is caught offside. Charlie Daniels restarts play with the free kick.57:01
The ball is sent over by Marc Pugh, clearance made by Kevin Long.56:16
Foul by Gary Jones on Donal McDermott, free kick awarded. Direct free kick taken by Simon Francis.55:38
Donal McDermott takes a short corner.54:49
Centre by Donal McDermott, save made by Peter Kurucz.53:51
Charlie Daniels takes a inswinging corner from the right by-line played to the near post, Brian Barry-Murphy manages to make a clearance.53:03
Free kick awarded for an unfair challenge on Simon Francis by Joe Widdowson. Darryl Flahavan takes the direct free kick.51:42
Stephane Zubar restarts play with the free kick.51:42 Booking
Booking Ashley Grimes is shown a yellow card.51:29
Ashley Grimes is penalised for handball and concedes a free kick.50:24
Gary Jones challenges Charlie Daniels unfairly and gives away a free kick. Charlie Daniels takes the free kick.49:32
Unfair challenge on Jean-Louis Akpa Akpro by Shaun MacDonald results in a free kick. Direct free kick taken by Stephen Darby.47:45
Brian Barry-Murphy challenges Shaun MacDonald unfairly and gives away a free kick. Harry Arter restarts play with the free kick.46:17
Effort on goal by Wesley Thomas from inside the penalty box misses to the right of the target.45:33
Jean-Louis Akpa Akpro takes a shot. Darryl Flahavan makes a save.45:01
The game restarts for the second half.45:00 +7:51 Half time
Half Time The half-time whistle blows.45:00 +7:28
Inswinging corner taken by Brian Barry-Murphy, save by Darryl Flahavan.45:00 +6:55
Corner taken short by Brian Barry-Murphy, clearance made by Shaun MacDonald.45:00 +6:18
Marc Pugh produces a cross, Wesley Thomas produces a header from inside the area that goes over the bar.45:00 +5:12
The referee blows for offside. Indirect free kick taken by Simon Francis.45:00 +0:37
Corner crossed in by Marc Pugh, save by Peter Kurucz.44:08
Marc Pugh crosses the ball, clearance by Jason Kennedy.43:51
Simon Francis crosses the ball.42:46
Unfair challenge on Marc Pugh by Jean-Louis Akpa Akpro results in a free kick. Harry Arter restarts play with the free kick.42:06
Kevin Amankwaah concedes a free kick for a foul on Matthew Tubbs. Charlie Daniels restarts play with the free kick.40:49
Foul by Stephane Zubar on Jean-Louis Akpa Akpro, free kick awarded. Brian Barry-Murphy delivers the ball from the free kick left-footed from right wing.38:58
Donal McDermott challenges Jean-Louis Akpa Akpro unfairly and gives away a free kick. Free kick crossed right-footed by Nicky Adams from left wing, Simon Francis makes a clearance.38:32
The ball is sent over by Jean-Louis Akpa Akpro, Stephane Zubar makes a clearance.37:32
Wesley Thomas takes a shot. Peter Kurucz makes a save.36:07
Shot from outside the box by Gary Jones goes wide right of the target.33:19
Inswinging corner taken left-footed by Brian Barry-Murphy, Kevin Long takes a shot. Save by Darryl Flahavan.32:56
Gary Jones takes a shot. Darryl Flahavan makes a save.32:37
Ashley Grimes takes a shot. Blocked by Stephane Zubar.32:24
Stephen Darby sends in a cross, clearance by Donal McDermott.31:47
Jean-Louis Akpa Akpro takes a shot. Blocked by Dan Strugnell.30:10
Gary Jones takes a shot. Save made by Darryl Flahavan.29:27
Harry Arter takes a shot. Blocked by Kevin Long.28:48
The offside flag is raised against Jean-Louis Akpa Akpro. Darryl Flahavan restarts play with the free kick.28:40
Centre by Joe Widdowson, Simon Francis manages to make a clearance.27:28
Gary Jones produces a left-footed shot from long distance which goes wide right of the goal.26:50
Jean-Louis Akpa Akpro has an effort at goal from outside the box which goes wide right of the goal.24:53
Corner taken by Marc Pugh, clearance by Jean-Louis Akpa Akpro.23:13
Stephane Zubar concedes a free kick for a foul on Jean-Louis Akpa Akpro. Shot on goal comes in from Brian Barry-Murphy from the free kick.20:57
Unfair challenge on Nicky Adams by Dan Strugnell results in a free kick. Direct free kick taken by Brian Barry-Murphy.20:01
Donal McDermott takes a shot. Peter Kurucz makes a save.18:49
Inswinging corner taken left-footed by Brian Barry-Murphy played to the near post, Marc Pugh manages to make a clearance.16:09
Inswinging corner taken from the left by-line by Jason Kennedy, Simon Francis makes a clearance.15:51
Unfair challenge on Brian Barry-Murphy by Donal McDermott results in a free kick. Direct free kick taken by Brian Barry-Murphy.14:45
Foul by Shaun MacDonald on Gary Jones, free kick awarded. Direct free kick taken by Brian Barry-Murphy.12:32 Substitution
Substitution Dan Strugnell comes on in place of Stephen Purches.5:23
Nicky Adams takes a shot. Darryl Flahavan makes a save.3:37
Jean-Louis Akpa Akpro concedes a free kick for a foul on Simon Francis. Simon Francis restarts play with the free kick.0:00
The referee starts the match.
Live data and text provided by our data suppliers