Rotherham picked up their first Championship win of the season with a narrow victory over Brentford.
Brentford had the majority of the first-half possession, but Lasse Vibe and Scott Hogan missed easy chances.
Danny Ward then made the Bees pay when he put Rotherham ahead after 32 minutes despite appearing to be offside.
Brentford rarely threatened in the second half and could not find a way through a Millers defence which had shipped 13 goals in four games.
The Millers had not won in the Championship since a 4-0 victory over MK Dons on 9 April, but Ward took his chance well against the run of play to give Alan Stubbs his first win as Rotherham manager.
It was a frustrating afternoon for Brentford, who have been inconsistent so far this season, falling to a second defeat to go with their two league wins.