Match ends, Gillingham 1, Sunderland 0.
Brandon Hanlan secured Gillingham's place in the FA Cup second round after Steve Evans' side finally beat Sunderland after extra-time in an all-League One replay.
Hanlan fired past Lee Burge in the 105th minute after a scrappy but competitive game to set up a home tie against Doncaster in round two.
Sunderland had the better of the early chances, with Laurens De Bock heading wide from Chris Maguire's free-kick and Max Power testing Gills goalkeeper Jack Bonham with his cross-turned-shot, while Power should have done better with a long-range drive that flew over the bar.
Hanlan had the hosts' best chances of the opening half, heading wide before his 20-yard attempt deflected off Alim Ozturk for a corner.
Will Grigg squandered Sunderland's best chance to win the game in normal time, shooting to the left of Bonham's post with 73 minutes gone after latching onto Aiden McGeady's pass.
Gills captain Max Ehmer smashed a half-volley off the bar 13 minutes into extra-time before Hanlan met Olly Lee's through ball to fire the hosts into round two for the third season running.
Match report supplied by PA Media.
- 5EhmerBooked at 45mins
- 23JakubiakSubstituted forNdjoliat 59'minutes
- 5OzturkSubstituted forBainbridgeat 90'minutes
- 28De BockBooked at 55mins
- 13O'NienBooked at 85mins
- 33HumeSubstituted forMcGeouchat 105'minutes
- 22GriggSubstituted forConnellyat 113'minutesBooked at 117mins
- 14WatmoreSubstituted forMcGeadyat 64'minutes
- Alan Young
- Shots on Target
Second Half Extra Time ends, Gillingham 1, Sunderland 0.
Max Ehmer (Gillingham) wins a free kick in the attacking half.
Foul by Lee Connelly (Sunderland).
Lee Connelly (Sunderland) is shown the yellow card for a bad foul.
Attempt blocked. Grant Leadbitter (Sunderland) right footed shot from outside the box is blocked.
Substitution, Sunderland. Lee Connelly replaces William Grigg.
Second Half Extra Time begins Gillingham 1, Sunderland 0.
Substitution, Sunderland. Dylan McGeouch replaces Denver Hume.
First Half Extra Time ends, Gillingham 1, Sunderland 0.
Goal! Gillingham 1, Sunderland 0. Brandon Hanlan (Gillingham) right footed shot from the right side of the box to the bottom left corner. Assisted by Olly Lee.
Max Ehmer (Gillingham) hits the bar with a right footed shot from the centre of the box.
Corner, Sunderland. Conceded by Mark Byrne.
Attempt missed. Brandon Hanlan (Gillingham) header from the centre of the box is too high following a corner.
Corner, Gillingham. Conceded by Laurens De Bock.
Foul by Mark Byrne (Gillingham).
Grant Leadbitter (Sunderland) wins a free kick in the defensive half.
Brandon Hanlan (Gillingham) wins a free kick in the defensive half.
Foul by Laurens De Bock (Sunderland).
Connor Ogilvie (Gillingham) wins a free kick in the attacking half.