Bristol City reached the second round of the Capital One Cup for the first time since 2009 with a comfortable win over Gillingham.
Sam Baldock slotted the Robins into a first-half lead after good work by Jay Emmanuel-Thomas.
Adebayo Akinfenwa missed numerous headed chances in search of a first goal since rejoining Gillingham.
And Jordan Wynter followed up after Emmanuel-Thomas's shot was blocked to seal the win and send City through.
It was the 19-year-old's first goal in professional football, in only his second game since
signing from Arsenal in the summer.
His strike ensured City avoided a repeat of last year's first-round defeat, when Gillingham
beat them 2-1
at Ashton Gate.
VIEW FROM THE DRESSING ROOM
Bristol City head coach Sean O'Driscoll told BBC Radio Bristol:
"Twelve months ago I was at Ashton Gate watching Gillingham beat Bristol City, so it's nice to reverse that scoreline.
"I think we played with a fluidity, which is what we are trying to get at.
"We couldn't do that before. When I came in in January it was about accruing points - it wasn't a time to experiment.
"But now we've got the chance to play in a way the players are comfortable with. That's what we've developed and it's a big step forward."
Gillingham 01 Nelson 03 Martin 05 Davies (Weston - 69' ) 06 Legge 23 Harriman 07 Whelpdale 12 Gregory 15 Dack 26 Barrett 08 Akinfenwa Booked (Kedwell - 59' ) 16 German (McDonald - 59' ) Substitutes 22 Howard 21 Butcher 11 Weston 18 Lee 34 Hare 09 Kedwell 10 McDonald Bristol City 01 Fielding 02 Moloney 04 Fontaine 05 Flint Booked 17 Cunningham (Williams - 86' ) 08 Kilkenny (Reid - 81' ) 16 Wynter 21 Pack 25 Elliott 09 Baldock 10 Emmanuel-Thomas (Harewood - 75' ) Substitutes 13 Parish 03 Williams 11 Wagstaff 14 Reid 15 Bryan 18 Taylor 24 Harewood