An amateur rugby player who smashed down the door at his former partner’s home and beat up her friend has been jailed for 27 months.

Dwaine Smith had downed up to 11 pints and taken “some sort of tablet” when he attacked Stephen Cox after bursting into a house in Milton Street, Skipton.

Smith, 26, a trainee mechanic, flew into a drunken rage when he discovered Mr Cox watching television at Hannah Kitson’s home, Bradford Crown Court heard on Tuesday.

He pleaded guilty to unlawfully wounding Mr Smith and to criminal damage to Miss Kitson’s front door and car wing mirror.

Prosecutor Martin Robertshaw said Smith had been in a relationship with Miss Kitson and they had a child together. They split up in the summer of 2011 and Mr Cox, Miss Kitson’s neighbour, became a helpful friend to her.

On December 2, Smith banged on the door after 10pm, threatened to shoot Mr Cox and broke into the house.

He launched a sustained attack on Mr Cox, punching him repeatedly and kicking him in the head.

Mr Cox was treated in hospital for a laceration to his ear that had left him scarred.

Smith caused almost £1,000 damage to the house and car, the court heard.

Smith’s barrister, Jayne Beckett, said he was ashamed of himself. “He had some sort of personal meltdown that night,” Mrs Beckett said.

Judge Jonathan Rose told Smith it was an outrageous and dreadful piece of behaviour.

“This was a brutal intrusion into the home of your former partner and of your daughter,” Judge Rose said.

He made a restraining order without limit of time banning Smith, of Coronation Mount, Keighley, from having any contact with Miss Kitson.