Matthew Connolly's last-minute own goal helped Rotherham secure their first league victory of the season against 10-man Cardiff.
Vadis Odjidja-Ofoe's penalty put the Millers ahead after Cardiff goalkeeper David Marshall was sent off for kicking out at Matt Derbyshire.
Peter Whittingham levelled with a fierce penalty after Farrend Rawson brought down Fabio before half-time.
Rotherham won it when Connolly turned Chris Maguire's cross into his own net.
More to follow.