A teenager assaulted his girlfriend as she held their baby, a court heard.
Liam Hardingham, of St Stephen’s Road in Lockwood, admitted the attack when he appeared at Kirklees Magistrates’ Court.
District Judge Michael Fanning told the 18-year-old - who also attacked his sister - that if his bad behaviour continued it would have a massive impact upon his child.
The court heard that on July 2 Hardingham lost his temper while at sister Natalie Robinson’s home in Primrose Hill.
He picked up a vacuum cleaner and threw it a wall, causing some dents.
Hardingham then threw a glass picture frame to the floor and shattered the screen of a mobile phone.
On July 9 the teenager was at his sister’s home again, this time with his girlfriend Emily Viney and their seven-week-old child.
Hardingham woke up in a bad mood and threw a baby bottle at Miss Robinson, hitting her in the face.
He broke a kettle by throwing it and kicked a door, damaging it.
Robert Campbell, prosecuting, said: “He asked Miss Viney to go into the lounge to talk, he asked to hold their son but she refused to hand him over.
“He grabbed her by the throat and at that point she handed the child over to make him let go.”
Arfaq Nabi, mitigating, said that the two incidents stemmed from Hardingham’s difficult relationship with his sister.
He added: “He makes bad decisions and acts inappropriately.”
District Judge Michael Fanning told Hardingham: “You’re a big boy now and if you continue to offend you will go to the big boy’s prison.
“Domestic violence, particularly when a young child is there and there’s discord between parents, can have an affect on their development.
“They feel their stress and it damages their brains.
“It has a massive impact on your child if you behave in this way.”
Hardingham was ordered to complete 60 hours of unpaid work as part of a community order.
He was also banned from his sister’s home and ordered to pay £85 costs.