Ayr United are three points clear at the top of the Scottish Championship after coming from behind to triumph over struggling Hamilton.
The hosts raced into an early lead after Jamie Murphy converted on the end of a Jay Henderson cutback, but Accies soon found a route back into the game.
Oli Shaw's equaliser was followed by midfielder Jamie Barjonas' strike to put John Rankin's team in front at the interval.
Summer signing Marco Rus then equalised for Ayr from outside of the area before George Oakley secured a third league win out of three for Scott Brown's side's side.
Accies remain second bottom of the league, a point above Dunfermline.
What they said
Ayr United head coach Scott Brown: "The result is the main thing. Sometimes you're going to go down in football, it's part and parcel of the game but it shows you the character the lads have got.
"Football is character building. You want a good bunch of lads and they're fantastic. They sit in there and they agree with you.
"They are actually telling me what the problems are so it's good, we all work together really well. Hopefully we just keep kicking on."
Hamilton Accies boss John Rankin: "We have to be better defensively.
"We go down to 10 men. This week it's not a sending off, it's an injury. To be honest, the character in the players for the last 15 minutes when we did go down to 10 men - creating chances and opportunities that we never took - means I can never question our character."