A man who attacked his friend with a garden tool earned prison time after an appearance in the Whanganui District Court on Thursday.
Mathew Llewellyn-Thomas was drinking with his friend on February 12 when the friend got up to leave on his bicycle.
Llewellyn-Thomas stopped him, asking him to stay, Judge David Cameron said.
The victim shoved him away and Llewellyn-Thomas went and picked up a 40cm garden tool, striking him two to three times in the head.
The victim suffered a 30mm laceration to his head but declined medical treatment, Judge Cameron said.