Sam Vokes scored late on to send Burnley into third place in the Championship as they improved of Rotherham at the New York Stadium.
Andre Gray opened the scoring inside 10 minutes to get Burnley off to a flyer yet they were pegged back by a shocking Grant Ward equalizer.
However the scores were level for a matter of minutes as Vokes poached the victor from inside the six-yard box.
The win implies Burnley are just three focuses behind top of the table Brighton in front of the weekend installations.
Rotherham had the first risk of the diversion as Ward shot at Tom Heaton yet it was the guests who led the pack following nine minutes through Andre Gray.
The late spring marking from Brentford completed coolly past Lee Camp after George Boyd’s through ball as Rotherham’s Danny Collins got out in protection.
The hosts continued making inquiries of Burnley, in spite of the scoreline, and Jonson Clarke-Harris terminated wide from 18 yards.
The woodwork was struck following 31 minutes as Vokes cannoned the ball off the post in the wake of ending up in sections of land of space before Camp made a shocking one-gave recovery to deny David Jones’ capable exertion.
Joey Barton kept the his side in front after half time when he cleared splendidly to deny Tony Andreu taking after a guarded stir up.
In any case, there was nothing the previous QPR man could do about the equalizer from Ward on 75 minutes.
The Rotherham man grabbed the ball 25 yards out before unleashing a relentless shot into the top corner, past the absolutely powerless Heaton.
However just five minutes after the fact and the Clarets were back in front, this time however Vokes who tapped in from short proximity after Scott Arfield’s beginning shot was parried by Camp.
What’s more, in spite of a valiant showcase, Rotherham were not able to discover another equalizer in the remaining 10 minutes as they are left floating problematically over the assignment zone.