A family were terrorised in their Almondbury home when two men burst into the property in the early hours trying to enforce a debt, a court heard.
Camille Morland prosecuting told Leeds Crown Court Keith Loveland and the complainant Michael Carr had previously had a car valeting business together which had ended but he claimed he was owed some money by Mr Carr.
Shortly before 1am on December 21 last year Mr Carr was at home in Lancaster Crescent with his partner Rachel Proctor who was expecting their fourth child.
Three other children were asleep in bed and the couple had just gone to bed when they heard banging and smashing downstairs.
Miss Morland said Brian Loveland had joined his cousin Keith in breaking into the house by smashing a downstairs window.
Mr Carr and his family had got into one room and he tried to hold the door against the intruders with Brian Loveland shouting threats and saying: “This is what happens when you try to **** with my cousin.”
She said the family were terrified and Mr Carr used the butt of an air rifle to strike towards Loveland round the door causing him to stumble back towards the bannister and stairs. He then threw a speaker at him. By then Miss Proctor was on the phone to the police and the two men left.
The children needed counselling and the family felt they had also to move home.
She said Keith Loveland had been dealt with separately by magistrates and had since been fined £400 for causing damage.
Andrew Semple representing Brian Loveland said he accepted it was an unpleasant incident. He had been out drinking at a works do when he agreed to go along with his cousin.
Loveland, 29, of Leeds Road, Huddersfield, admitted affray and was jailed for 18 months.
Recorder Jeremy Barnett said: “You have to know this was a disgraceful incident. People are entitled to be protected in their own homes.”