42-year-old John Poole lashed out at the golden retriever named Biscuit, knocking the animal unconscious in the town on Saturday night before throwing it against a wall and onto the path of incoming traffic.
Mercifully, the animal will suffer no lasting damage.
Appearing at Ayr Sheriff Court yesterday, he admitted carrying out the attack before Sheriff Carole Cunninghame.
He pleaded guilty to behaving in a threatening manner towards police and threatening them with violence.
Poole’s defence lawyer told the hearing that he is addicted to alcohol and recently suffered a relapse.
He was remanded in custody after the Sheriff deferred sentencing until March to allow background reports to be carried out - he could also be banned from owning animals.
Sheriff Cunninghame told him: “I am well aware of your background in terms of difficulties with alcohol which you clearly continue to struggle to deal with.
“It seems to me that you require to be remanded in custody for, at the very least, an enforced abstinence from alcohol.”