Stuart Harris admits attempting to murder Robert Munro
A man who left his neighbour with brain damage after kicking, stamping and jumping on his head has admitted a charge of attempted murder.
Stuart Harris, 27, admitted attacking Robert Munro, 29, at the victim's flat in Darvel, East Ayrshire, on 13 May.
The High Court in Glasgow heard how Harris acted after his girlfriend suspected that Mr Munro had stolen food during a party at their flat.
Judge Lady Stacey deferred sentence on Harris, who was returned to custody.
The court heard how Harris and his girlfriend Debbie McGillvary had a party which was attended by Mr Munro and his girlfriend Cheryl McCaig.
After the party ended, Ms McGillvary noticed that food was missing from her kitchen cupboard and from the fridge.
She voiced her concerns to Harris that Mr Munro may have stolen the food.
He then went upstairs and banged his neighbour's door.
When Mr Munro answered, Harris punched him and began shouting about stolen food.
Mr Munro said he had not stolen any food and was punched to the ground by Harris.
He then kicked and stamped on the right side of Mr Munro's head.
Ms McCaig, who shouted at Harris to stop the attack, later told police that she saw him kick, stamp and jump on Mr Munro's head at least 20 times.
Ms McGillvary heard the disturbance and went upstairs to find Mr Munro lying unconscious and Harris shouting: "What have I done."
He then told her: "Look what I've done. I didn't mean to take it that far."
The court heard that as a result of the attack, Mr Munro suffered an inoperable brain injury and initially his family was told that he was unlikely to survive.
The brain injury means that he now displays impulsive and inappropriate behaviour.
Mr Munro is able to move with the aid of a wheelchair and it is anticipated that he will eventually be able to walk with aids.
Judge Lady Stacey told Harris: "I have to get a social work report on you before I can sentence you on this serious matter."