Gillingham's Cody McDonald hit a late goal to deny Mark Cooper victory in his first game as permanent Swindon boss.

The hosts went ahead when Nathan Byrne bundled home Nathan Thompson's drilled cross but Danny Kedwell headed in a Chris Whelpdale long throw to equalise.

The Robins retook the lead midway through the second half when Thompson nodded home Ryan Harley's cross.

But Gillingham stole a point when McDonald beat the last man and slotted past goalkeeper Wes Foderingham.

VIEW FROM THE DRESSING ROOM

Swindon Town manager Mark Cooper told BBC Wiltshire:

"I thought we deserved to win the game. We played some really good football again [but] you have to see the game out - they have to learn that.

"Our football was really good, the goals were really good and our play deserved more than one point.

"But we didn't see it out and got caught by the sucker punch."

Gillingham manager Martin Allen told BBC Radio Kent:

"It was a good team performance, you've got to give so much credit and praise to the players.

"There's been a step-up in terms of quality in the teams we're playing against. A lot of our players, including myself, have been in Division One, I've been successful in Division One.

"These players can play in Division One, they can stand their ground but it takes a while to get that belief."

Sorry, we were unable to load match stats, please try again.