A 39-year-old man, Edward Earle, from Osprey Road, Warminster, has been sentenced following an incident in Salisbury on 5th July.
Salisbury Magistrates heard on Thursday last week (12th June) how Earle entered Chick-O-Land in Salisbury on July 5th, where he racially abused a member of staff and made threats.
During his arrest shortly afterwards, he was verbally abusive towards officers and, when in police custody, threw a shoe at an officer.
Earle pleaded guilty to a S4A racially aggravated public order, a S5 Public Order offence and Assaulting an Emergency Worker.
He was sentenced to a two-year community order. As part of this, he is required to complete 20 rehabilitation activity requirement days and complete a four-month alcohol abstinence order, which is monitored by an electronic tag.
He is also required to pay £200 in compensation.
PC Taylor said: “Edward’s behaviour was unacceptable that night, and I am glad that the courts and CPS took the offences seriously.
“Nobody should be subjected to such abuse. We do not tolerate any assaults on officers who are going about their normal duties.”

Revan Returns for a Second Season at the Ray Mac
Popular Organ Prom returns to Salisbury Cathedral
Wiltshire remains one of the safest places in the country despite rise in recorded crime
Wiltshire Council strengthens commitment to tackling violence against women and girls
A second look could save a life - motorists urged to look again for bikers
World Cup campaign sees reduction in drink drive offences and increase in domestic abuse reporting
Trek the Sahara Desert in support of Salisbury Hospital’s Stars Appeal
Motorcyclist sustains serious injuries following collision on A30
