Kieran Agard scored an injury-time winner as Rotherham boosted their play-off hopes with victory at Carlisle.
Agard flicked home Alex Revell's cross for his 16th goal of the season in the second minute of stoppage time.
Wes Thomas had rolled into an empty net after a defensive mix-up to put the visitors ahead before Lee Miller levelled on the stroke of half-time with an overhead kick.
Thomas shot straight at keeper Jordan Pickford's legs before Agard pounced.
The Millers have now won six games out of seven, including four in a row, and sit in fifth place, while Carlisle are just four points above the relegation zone.
Rotherham manager Steve Evans told BBC Radio Sheffield:
"It's always nice to score a winning goal, and it's always nice in added time, of course.
"But we could have been four or five-nil up at half-time. We should have been.
"Instead of that we turned level, and it's fair to say that for one of the few times since probably October-November I had to get into them [the players] a little bit.
"To be fair to the players, I said to them "go out and some of you prove me wrong", and listen, if it had finished one-nil we we'd have still been the dominant team.
Carlisle United 18 Pickford 39 Chimbonda 03 Robson 16 Potts 23 O'Hanlon 30 Meppen-Walter Booked 08 Noble (Byrne - 68' ) 10 Ekangamene 09 Miller 24 Redmond (Gomez Novo - 79' ) 07 Amoo Substitutes 04 Chantler 19 Symington 20 Fleming 25 Byrne 27 Brough 29 Guy 33 Gomez Novo Rotherham United 21 Collin 27 Tavernier 03 Skarz 08 Frecklington 04 Arnason Booked 05 Davis Booked 22 Agard (O'Connor - 92' ) 36 Smallwood 26 Thomas (Adams - 75' ) 09 Revell 18 Pringle Substitutes 01 Shearer 02 Brindley 10 O'Connor 25 Addison 28 Vuckic 35 Hitchcock 37 Adams
Ref: Steve Martin