Rotherham sealed their place in the League One play-offs with a hard fought 2-0 win over Bristol Rovers.
Michael Smith and substitute Caolan Lavery found the net to leave the Millers, aiming to secure an immediate return to the Championship, fourth in the table.
Rotherham stormed ahead in the ninth minute when Smith burst through the defence and curled an unstoppable effort into the top corner.
Will Vaulks had two chances0 moments after the goal but both flew just over the crossbar.
The away side's first major opportunity was created by Byron Moore as he danced into the box from the right wing. His eventual shot was weak and was pushed out by Marek Rodak.
Rotherham almost got a clinching second goal through substitute Ryan Williams but he could not get a clean enough touch on Joe Newell's near-post cross.
Rodak remained alert throughout and he denied Kyle Bennett with a save with his legs.
The points were sealed in the 90th minute with Lavery coming off the bench to turn in Newell's centre.