A homeless shelter worker was hit in the head with a laptop and had clumps of her hair pulled out - after asking a resident to turn down her music.
Baldish Sandhu, a worker at Birkby-based charity the Wish Project, was forced to curl into a ball in a bid to defend herself after Carrie Douglas stormed into her office and launched the frenzied attack.
Douglas pleaded guilty to assault and was jailed for 18 weeks at Kirklees Magistrates’ Court.
District Judge Michael Fanning described the attack on Sunday evening as “vicious and sustained”.
Vanessa Jones, prosecuting, said that Ms Sandhu is a night warden at the project.
The charitable organisation helps homeless and vulnerable women including ex-offenders, those with drug, alcohol, or mental health problems, and victims of domestic violence.
The court heard that Douglas had been living there for six months.
Mrs Jones explained that Ms Sandhu asked the 36-year-old to turn the music down in her room because she was disturbing other residents.
Douglas agreed to do so and the warden returned to her office.
At just after 7pm she was on her laptop when Douglas entered, became aggressive and asked Ms Sandhu what she was looking at.
Mrs Jones said: “She (Douglas) picked up the laptop and hit her over the head several times.
“The laptop was dropped onto the floor and Douglas grabbed Ms Sandhu’s hair and began to drag her around the office.
“When Douglas let go the night warden was so scared she curled up into a ball to protect her head.”
Douglas picked up Ms Sandhu’s laptop again, throwing it at her and striking the back of her head.
She continued to punch and kick Ms Sandhu to her body and head, grabbing her by her hair and dragging her across the office for a second time.
Mrs Jones told the court: “She (Douglas) then walked out and seemed calm as if the rage had subsided.
“Ms Sandhu was very emotional and crying because of the attack she was subjected to.
“Clumps of her hair had been pulled out.”
Another worker who witnessed the attack said she was too scared of Douglas to intervene.
Judge Fanning said: “This was a vicious and sustained attack on a person who has chosen to work with homeless and vulnerable people such as yourself.
“This is so serious that only a prison sentence can follow.”
Douglas was jailed for 18 weeks and ordered to pay £80 victim surcharge.
There was no separate penalty for criminal damage to Ms Sandhu’s laptop.