Jailing David McEwan for 11 months, Sheriff Graham Buchanan said it was a "disgusting assault” on someone who was trying to help.