Rotherham moved up to third in the League Two table as they came from behind to snatch victory at Spotland.

Kari Arnason's header appeared to have put them in front but the referee ruled it had not crossed the line.

Rochdale then went in front when Ashley Grimes fired home his fifth goal in six games from Joe Rafferty's cross.

Kayode Odejayi scrambled an equaliser following a corner and on-loan Courtney Cameron curled home a last-minute winner after the ball ran loose.

VIEW FROM THE DRESSING ROOM

Rochdale manager John Coleman told BBC Radio Manchester:

"We played well in the first half, but we were poor in the second half.

"Rotherham put us under a lot of pressure, they were very direct and their physical approach paid off in the end.

"Although we dealt quite well with them, the pressure's told in the end."

Rotherham United manager Steve Evans told BBC Radio Sheffield:

"I think we were very unfortunate to go behind in the game and we hit the woodwork a couple of times.

"We said to the players at half-time that we're disappointed with the goals they have conceded but we said we believed in them.

"This squad has great character.

"We're not kidding ourselves, this is a tough place to come. It was a thoroughly deserved three points but we did have to work hard."

Match Stats

Shots

11 13

On target

5 6

Corners

8 8

Fouls

6 18

Live Text Commentary

90:00 +4:39 Full time

Full Time The referee blows for the end of the match.

90:00 +3:47

Short corner worked by Bobby Grant.

90:00 +3:32

Jason Kennedy takes a shot. Blocked by Kari Arnason.

90:00 +2:54

Kayode Odejayi concedes a free kick for a foul on Kevin McIntyre. Free kick taken by Josh Lillis.

90:00 +0:55 Booking

Booking Courtney Cameron is shown a yellow card for unsporting behaviour.

89:58

Assist on the goal came from Alex Revell.

89:58 Goal scored

Goal! - Courtney Cameron - Rochdale 1 - 2 Rotherham Courtney Cameron gets on the score sheet with a goal from just outside the box to the top left corner of the goal. Rochdale 1-2 Rotherham.

88:57

Kari Arnason takes the direct free kick.

88:57 Booking

Booking Bobby Grant receives a yellow card.

88:48

Foul by Bobby Grant on Jason Taylor, free kick awarded.

86:58

Andrew Tutte has an effort at goal from outside the box which misses left.

86:25

Bobby Grant takes the free kick.

86:25 Booking

Booking Mark Bradley booked.

86:06

Unfair challenge on Terry Gornell by Mark Bradley results in a free kick.

85:43

Andrew Tutte takes a shot. Blocked by Kari Arnason.

85:15

Inswinging corner taken from the right by-line by Bobby Grant.

83:44

Jason Taylor produces a right-footed shot from just outside the box that goes wide right of the target.

82:08

The assistant referee flags for offside against Terry Gornell. Andy Warrington takes the indirect free kick.

80:30

Bobby Grant produces a left-footed shot from just outside the box that goes wide right of the goal. Alex Revell is ruled offside. Josh Lillis takes the indirect free kick.

80:03

Corner taken by Bobby Grant from the right by-line played to the near post, Liam Ridehalgh manages to make a clearance.

79:40

Inswinging corner taken by Bobby Grant, clearance by Kari Arnason.

77:26

Courtney Cameron provided the assist for the goal.

77:26 Goal scored

Goal! - Kayode Odejayi - Rochdale 1 - 1 Rotherham Kayode Odejayi finds the net with a goal from close in to the bottom right corner of the goal. Rochdale 1-1 Rotherham.

77:02

Corner taken by Courtney Cameron,

76:14

Lee Frecklington gives away a free kick for an unfair challenge on Andrew Tutte. Peter Cavanagh restarts play with the free kick.

75:30 Substitution

Substitution Ashley Grimes goes off and George Donnelly comes on.

75:12

Michael O'Connor has a shot on goal from outside the area which misses right.

72:17

Inswinging corner taken right-footed by Michael O'Connor played to the near post, Bobby Grant manages to make a clearance.

71:03

Corner taken by Courtney Cameron from the right by-line to the near post, Kevin McIntyre makes a clearance.

70:16

Bobby Grant produces a left-footed shot from just outside the box that misses to the right of the net.

68:51 Substitution

Substitution Rhys Bennett is brought on as a substitute for Joe Rafferty.

68:51 Substitution

Substitution Ben Pringle goes off and Alex Revell comes on.

66:55

Josh Lillis takes the free kick.

66:55 Booking

Booking Lee Frecklington receives a yellow card for unsporting behaviour.

66:32

Free kick awarded for a foul by Lee Frecklington on Josh Lillis.

62:58

The referee blows for offside against Terry Gornell. Indirect free kick taken by Andy Warrington.

62:19

Ben Pringle gives away a free kick for an unfair challenge on Kevin McIntyre. Josh Lillis takes the direct free kick.

61:04

Free kick taken by Michael O'Connor.

61:04 Booking

Booking Joe Rafferty goes into the referee's book for unsporting behaviour.

61:03

Unfair challenge on Kayode Odejayi by Joe Rafferty results in a free kick.

59:43

Corner taken by Jason Kennedy from the left by-line played to the near post, clearance made by Mark Bradley.

56:55 Substitution

Substitution (Rotherham) makes a substitution, with Courtney Cameron coming on for Kieran Agard.

54:13

Joe Rafferty challenges Kieran Agard unfairly and gives away a free kick. Michael O'Connor takes the free kick.

52:53

Josh Lillis fouled by Kieran Agard, the ref awards a free kick. Josh Lillis restarts play with the free kick.

50:20

The offside flag is raised against Kieran Agard. Free kick taken by Josh Lillis.

48:34

Bobby Grant takes a short corner.

48:12

Bobby Grant takes a shot. Blocked by Johnny Mullins.

46:33

Effort from the edge of the box by Ben Pringle goes wide of the left-hand post.

45:20

Corner taken by Bobby Grant from the right by-line played to the near post, Liam Ridehalgh manages to make a clearance.

45:01

The referee starts the second half.

45:00 +2:13 Half time

Half Time The referee calls an end to the first half.

45:00 +1:29

Liam Ridehalgh sends in a cross, clearance made by Kevin McIntyre.

45:00 +0:14

Inswinging corner taken left-footed by Bobby Grant played to the near post, save by Andy Warrington.

42:55

Michael O'Connor gives away a free kick for an unfair challenge on Jason Kennedy. Direct free kick taken by Phil Edwards.

41:46

Foul by Mark Bradley on Terry Gornell, free kick awarded. Kevin McIntyre takes the free kick.

38:10

Ashley Grimes concedes a free kick for a foul on Mark Bradley. Direct free kick taken by Andy Warrington.

32:51

Kayode Odejayi challenges Ryan Edwards unfairly and gives away a free kick. Joe Rafferty takes the free kick.

32:19

Kayode Odejayi produces a right-footed shot from deep inside the penalty area which goes wide of the right-hand post.

30:56

The referee blows for offside. Andy Warrington takes the direct free kick.

30:26

Lee Frecklington concedes a free kick for a foul on Bobby Grant. Direct free kick taken by Josh Lillis.

28:47

The assist for the goal came from Joe Rafferty.

28:47 Goal scored

Goal! - Ashley Grimes - Rochdale 1 - 0 Rotherham Ashley Grimes gets on the score sheet with a goal from inside the penalty area to the top left corner of the goal. Rochdale 1-0 Rotherham.

27:31

Corner taken by Michael O'Connor from the left by-line, save by Josh Lillis.

27:15

Lee Frecklington takes a shot. Blocked by Josh Lillis.

25:29

Inswinging corner taken left-footed by Ben Pringle, Foul by Kieran Agard on Joe Rafferty, free kick awarded. Free kick taken by Josh Lillis.

23:32

Inswinging corner taken left-footed by Ben Pringle from the right by-line to the near post, Kari Arnason takes a shot. Clearance made by Phil Edwards.

22:15

Free kick awarded for a foul by Ben Pringle on Kevin McIntyre. Josh Lillis takes the free kick.

21:27

Shot from just outside the box by Bobby Grant goes over the bar.

19:05

Ryan Edwards fouled by Kayode Odejayi, the ref awards a free kick. Ryan Edwards restarts play with the free kick.

18:25

Lee Frecklington has an effort at goal from just outside the box which goes wide of the left-hand post.

18:09

Unfair challenge on Ben Pringle by Phil Edwards results in a free kick. Direct free kick taken by Kari Arnason.

17:11

Free kick awarded for an unfair challenge on Terry Gornell by Michael O'Connor. Free kick crossed left-footed by Bobby Grant from right wing, clearance by Liam Ridehalgh.

16:47

Kieran Agard concedes a free kick for a foul on Bobby Grant. Josh Lillis restarts play with the free kick.

15:58

Header by Kari Arnason from deep inside the penalty area misses to the left of the target.

15:31

Corner from the right by-line taken by Ben Pringle, clearance made by Peter Cavanagh.

14:39

Corner taken left-footed by Ben Pringle from the right by-line, Mark Bradley takes a shot. Clearance made by Phil Edwards.

12:38

Ashley Grimes produces a right-footed shot from just outside the box that misses to the right of the target.

11:48

Lee Frecklington takes a shot. Save by Andy Warrington.

8:25

Headed effort from deep inside the penalty area by Kieran Agard misses to the left of the goal.

7:18

Terry Gornell takes a shot. Save by Andy Warrington.

6:21

Free kick awarded for an unfair challenge on Jason Kennedy by Lee Frecklington. Peter Cavanagh restarts play with the free kick.

5:10

Kayode Odejayi gives away a free kick for an unfair challenge on Jason Kennedy. Free kick taken by Phil Edwards.

4:29

Shot from just outside the box by Terry Gornell misses to the right of the goal.

2:51

Free kick awarded for a foul by Lee Frecklington on Peter Cavanagh. Direct free kick taken by Josh Lillis.

2:35

The official flags Kayode Odejayi offside. Free kick taken by Josh Lillis.

1:47

Unfair challenge on Ben Pringle by Phil Edwards results in a free kick. Ben Pringle delivers the ball from the free kick left-footed from right wing, save made by Josh Lillis.

0:00

The game begins.

Live data and text provided by our data suppliers