Alex Revell scored a stunning late winner against his former club as Rotherham defeated Leyton Orient.
Moses Odubajo blasted high into the net for Orient to cancel out Wes Thomas's first goal for Rotherham, a glanced header from Ben Pringle's cross.
The game looked to be heading for a draw before Revell netted from long range for his third goal in two games.
With leaders Brentford drawing, the O's lost ground at the top of League One, although they do have a game in hand.
Steve Evans' Rotherham, meanwhile, are fifth and have strengthened their position in the play-off places.
VIEW FROM THE DRESSING ROOM
Rotherham United manager Steve Evans told BBC Radio Sheffield:
"It was a fantastic result. In games like this, it's always going to take something special to win.
"It was two good teams. but we should have been comfortably in front in the first half.
"We have had a real bit of focus in the group and it's a good win for us."
Leyton Orient manager Russell Slade told BBC London 94.9:
"It was a difficult game for both teams, with the conditions and the swirling wind. They started well and deserved the lead but we plugged away and got back into it deservedly.
"I don't think we managed the game well in the final few seconds, and you have to do that if you want to get promotion and be successful.
"It was an eagerness to get down the other end and win. It's cost us dearly."
Rotherham United 21 Collin 14 Bradley 27 Tavernier 36 Smallwood Booked 05 Davis Booked (Skarz - 60' ) 04 Arnason 22 Agard 08 Frecklington 26 Thomas (Hitchcock - 45' ) 09 Revell 18 Pringle Substitutes 01 Shearer 02 Brindley 03 Skarz 10 O'Connor 25 Addison 28 Vuckic 35 Hitchcock Leyton Orient 31 Alnwick 05 Cuthbert 02 Omozusi 04 Vincelot 15 Clarke 06 Baudry 11 Odubajo 08 James (Bartley - 69' Booked ) 25 Simpson (Mooney - 57' ) 23 Dagnall (Loza - 89' ) 07 Cox Substitutes 03 Sawyer 10 Mooney 12 Larkins 19 Lasimant 21 Bartley 22 Loza 29 Ness
Ref: Kevin Wright