A vulnerable man was attacked in his Whitby home by a friend wielding an iron bar, a court heard on Monday.
The 59 year-old victim who has learning difficulties and is under the supervision of social services had known Arron Sharpe for 18 months before receiving a call from him late on November 21 of last year.
Sharpe said he was on his way round and told his friend to put the kettle on, the hearing at York Crown Court was told on Monday.
When Sharpe,30, of no fixed abode, arrived, his victim let him in, turning his back on him and then feeling a heavy blow to the back of his head and hearing a cracking noise.
Further attacks with the iron bar followed, Geoffrey Skelton suffering a cut and bruises which were later treated at hospital.
Helen Wheatley, prosecuting, told how during the attack Sharpe was accusing his friend of touching his former girlfriend.
For Sharpe, David Camidge said that his client had had problems with solvent abuse and had himself learning difficulties.
He added that Sharpe was realistic that he was facing a prison sentence.
Jailing Sharpe for 20 months, Recorder Sara Dodd told him that it was “miraculous” that more serious injuries had not been suffered by the victim.
She added that a perceived incident involving a former partner did not justify attacking a vulnerable man with a weapon in his own home.
The recorder of York also placed Sharpe under a restraining order, until further notice, to keep him away from Mr Skelton and his Havelock Place home.