Kristoffer McDowall, 22, received the sentence after assaulting a 20-year-old man in the Eglinton Road area of Ardrossan in August 2022.