Doncaster Rovers secured their place in the second round of the Capital One Cup with a penalty shoot-out win over York.
League Two side York shocked their League One opponents when they went ahead after the break with a superb long-range strike from Michael Coulson.
Rovers levelled when Chris Brown scored from the penalty spot after Lee Bullock felled David Cotterill.
Neither side went close in extra-time and Rovers won the shoot-out as Coulson and Matty Blair missed the target.
Brown, Martin Woods, Kyle Bennett and Robbie Blake all scored for Rovers, while Jon Challinor and Michael Potts netted for the visitors.
VIEW FROM THE DRESSING ROOM
York City manager Gary Mills told BBC Radio York:
"There's a lot of positives there. We've shown we shouldn't have to fear anything this season if we go and play like that.
"I couldn't see them scoring. It was a penalty that got them back into the game and at the end of the day penalties have cost us.
"A lot of positives from me. We'll all be disappointed but we get on and get ready for next Saturday now."
Doncaster Rovers 33 Woods 02 Quinn Booked (Wakefield - 95' ) 03 Husband 05 Jones 14 Spurr 07 Woods 11 Cotterill (Blake - 106' ) 26 Coppinger 30 Keegan (Syers - 57' ) 09 Brown 23 Bennett Substitutes 13 Maxted 15 Wakefield 06 Syers 10 Blake York City 24 Ingham 04 Smith 06 Parslow 16 Fyfield 23 Doig 12 Bullock 13 Smith (Potts - 112' ) 26 McLaughlin (Challinor - 87' ) 09 Walker (Blair - 78' ) 10 Chambers 11 Coulson Substitutes 01 Musselwhite 03 Blanchett 17 Blair 19 Potts 20 Challinor 14 Johnson 21 Henderson