A brace from Ronnie Wallwork gave crisis club Bradford a win to boost their slender hopes of survival.
Bryan Robson's City players agreed to a deferred pay plan to save cash after the club went into administration, and then the produced on the pitch with an impressive performance to chisel out their first win since they beat Norwich at Carrow Road in January.
Rotherham, still basking in their shock win at West Brom last week were frustrated by the stubborn Bantams early on.
And by half time the West Brom victory was a distant memory after City gave themselves a two-goal cushion.
On the break Bradford had two early chances when Lewis Emanuel squeezed a low shot wide and Danny Cadamarteri headed wide.
Rotherham centre-back Chris Swailes' goalbound header lacked the power to beat Nico Vaesen, who also made a comfortable stop to deny Andy Monkhouse.
Chris Sedgwick, who grabbed the winner at The Hawthorns smashed two ambitious efforts .
But then came the first of Wallwork's pair after 40 minutes when he rifled in a low shot wide of Mike Pollitt's dive, after a smart build up from Cadamarteri and Emanuel.
Rotherham were still stunned from the setback when Bradford burst forward again seconds before the break and Wallwork spun and drove in his second.
Bradford could have stretched their lead early in the second half when Simon Francis made a dazzling break down the right and picked out Paul Evans with a neat cross, but his angled header hit the upright.
Rotherham hit back after 73 minutes when John Mullin was chopped down 22 yards out and Paul Hurst curled in a spectacular reply.
Bradford survived a late revival and were again denied by the woodwork, when an Evans free-kick hit the post.