Rotherham United suffered a huge setback in their fight against relegation as they fell to a late goal at the Championship's bottom club, Bolton Wanderers.
The Millers looked set for a 1-1 draw in time added on, but the home side broke through and, after Lee Camp had denied Mark Davies, substitute Kaiyne Woolery slotted in the follow-up.
It was cruel on Rotherham who had fashioned the game's best chances, but a second successive defeat against a team in the bottom three underlines how great their struggle is.
Chris Burke had scored close to half-time to send the visitors in 1-1 at the break and they didn't deserve to lose in such heartbreaking fashion.
The Millers could hardly have made a worse start, falling behind in only the second minute when Jay Spearing fired home emphatically from the edge of the penalty area when a corner wasn't cleared.
They were poor early on but came back into the game and should have equalised in the 13th minute when Andrew Shinnie was cleverly played in by Burke only to stab the ball wide with just the goalkeeper to beat.
Joe Newell missed an even better chance in the 42nd minute when he shot too close to Bolton goalkeeper Ben Amos when he was clean through, but only a minute later Rotherham were level.
Danny Ward played the ball across goal from the left and there was Burke to lift the ball over Amos for his second goal in two games.
Boss Neil Redfearn had gone for experience at the back, bringing in Richard Wood at centre-half for Farrend Rawson and opting for Frazer Richardson at right-back in place of Shay Facey, while there was a first start for loan new boy Shinnie in the 'No 10' role.
It was Wood's first action in a Rotherham shirt since the final match of last season, at Leeds United, with fellow central defender Aimen Belaid not risked after his groin injury and named among the substitutes.
Striker Luciano Becchio missed out completely through injury.
In a dour, tense game, Redfearn's men had the best chance of the second half, in the 58th minute, when Shinnie latched on to Newell's header right in front of goal but shot straight at Amos ... until that 93rd-minute Bolton winner.
Bolton Wanderers (4-1-4-1): Amos; Vela, Dervite, Holding, Moxey; Spearing; Feeney, Davies, Pratley (Dobbie 84), Wellington (Woolery 81); Heskey (Trotter 64). Subs not used: Rachubka, Derik, Danns, Twardzik.
Rotherham United (4-4-1-1): Camp; Richardson, Broadfoot, Wood, Mattock; Burke (Green 69), G Ward, Smallwood, Newell; Shinnie (Derbyshire 90+4); D Ward (Clarke-Harris 76). Subs not used: Cairns, Rawson, Belaid, Dawson.
Goals: Spearing 2, Woolery 90+3 (Bolton); Burke 43 (Rotherham).
Referee: Stuart Attwell (Warwickshire).
Attendance: 14,641 (1,348).