Match ends, Maidenhead United 1, Rotherham United 3.
Ten-man Maidenhead squandered the chance for a famous FA Cup scalp after League One Rotherham fought back to win.
The National League outfit led for 44 minutes after Jake Cassidy's opener.
But Alan Massey's 54th-minute sending off allowed Paul Warne's side to canter into the second round.
Chiedozie Ogbene came close to breaking the deadlock for the visitors when he blasted wide.
Then, against the run of play, Cassidy kept his cool to calmly slot into the bottom corner.
The hosts defended well and keeper Chris Dunn produced a fine save to keep out Ben Wiles just before the break.
Massey left Maidenhead a man down when he was shown a straight red card for a reckless challenge on Wiles.
And the man advantage saw the Millers pile on the pressure.
Michael Ihiekwe levelled in the 69th minute with a fine finish.
And record summer signing Freddie Lapado put Rotherham in front when he blasted home with 15 minutes left.
With three minutes remaining, Rangers loanee Jake Hastie danced past the hosts' defence to find Matt Crooks - who scored his seventh goal in as many games.
It could have been more towards the end as Wiles' strike rattled the bar.
Match report supplied by PA Media.
Line-ups
Maidenhead United
Formation 4-5-1
- 1Dunn
- 15Ofori-Twumasi
- 4Ellul
- 24MasseyBooked at 54mins
- 3SteerSubstituted forThompson-Brissettat 79'minutes
- 16Sheckleford
- 8Comley
- 19Upward
- 28SmileSubstituted forWhitehallat 79'minutes
- 10KellySubstituted forDaviesat 59'minutes
- 9Cassidy
Substitutes
- 5Davies
- 11Mensah
- 12Keetch
- 14Whitehall
- 20Thompson-Brissett
- 27Sekajja
Rotherham
Formation 4-4-1-1
- 1Iversen
- 22OlosundeSubstituted forHastieat 62'minutes
- 20Ihiekwe
- 6WoodSubstituted forThompsonat 37'minutes
- 2JonesBooked at 28mins
- 19Ogbene
- 8Wiles
- 11Barlaser
- 14Morris
- 17Crooks
- 24SmithSubstituted forLadapoat 53'minutes
Substitutes
- 5Thompson
- 10Ladapo
- 12Price
- 23Hastie
- 26Lamy
- 31Hinds
- 33Cooper
- Referee:
- Ollie Yates
- Attendance:
- 1,924
Match Stats
- Possession
- Home35%
- Away65%
- Shots
- Home5
- Away20
- Shots on Target
- Home1
- Away6
- Corners
- Home1
- Away4
- Fouls
- Home7
- Away6
Live Text
Post update
Full Time
Second Half ends, Maidenhead United 1, Rotherham United 3.
Post update
Attempt missed. Daniel Whitehall (Maidenhead United) left footed shot from outside the box is too high. Assisted by Jaden Thompson-Brissett.
Post update
Attempt missed. Carlton Morris (Rotherham United) right footed shot from outside the box is close, but misses to the right. Assisted by Ben Wiles.
Post update
Attempt blocked. Jaden Thompson-Brissett (Maidenhead United) left footed shot from the centre of the box is blocked. Assisted by Ryan Upward.
Post update
Attempt saved. Carlton Morris (Rotherham United) right footed shot from outside the box is saved in the bottom right corner. Assisted by Freddie Ladapo.
Post update
Foul by Carlton Morris (Rotherham United).
Post update
James Comley (Maidenhead United) wins a free kick in the defensive half.
Post update
Attempt blocked. Daniel Barlaser (Rotherham United) right footed shot from the centre of the box is blocked.
Post update
Ben Wiles (Rotherham United) hits the bar with a left footed shot from outside the box. Assisted by Carlton Morris.
Post update
Corner, Rotherham United. Conceded by Joe Ellul.
Post update
Corner, Rotherham United. Conceded by Seth Nana Ofori-Twumasi.
Substitution
Substitution, Maidenhead United. Jaden Thompson-Brissett replaces Rene Steer.
Substitution
Substitution, Maidenhead United. Daniel Whitehall replaces Josh Smile.
Goal!
Goal! Maidenhead United 1, Rotherham United 3. Matt Crooks (Rotherham United) left footed shot from the centre of the box to the bottom right corner. Assisted by Jake Hastie.
Post update
Adam Thompson (Rotherham United) wins a free kick in the defensive half.
Post update
Foul by Jake Cassidy (Maidenhead United).
Goal!
Goal! Maidenhead United 1, Rotherham United 2. Freddie Ladapo (Rotherham United) left footed shot from the left side of the box to the bottom right corner. Assisted by Billy Jones.
Post update
Offside, Rotherham United. Adam Thompson tries a through ball, but Matt Crooks is caught offside.
Goal!
Goal! Maidenhead United 1, Rotherham United 1. Michael Ihiekwe (Rotherham United) right footed shot from the centre of the box to the bottom left corner. Assisted by Freddie Ladapo.