A DJ got the needle when he thought his ex-girlfriend was flirting with his friend while he was working the turntables, a court was told.

Blackburn magistrates heard Imran Zaman went to the girl's Rishton home in the early hours of the morning and threw a spanner through her window.

And the next morning he sent text messages threatening Carla Blackstock and her mother and pledging to spoil her house-warming party planned for that night.

Zaman pleaded guilty to harassment and was remanded on bail for pre-sentence reports.

Philippa White, prosecuting, said in the text messages Zaman "cursed" his partner of eight years for the "rest of her life" and said he was going to "do her in" and "get her mother."

"She was physically shaking after reading the text," said Mrs White. "Because of his threats she cancelled the party. This lady is trying for a fresh start and just wants to lead a quiet life, bringing up her children and being able to sleep at night not worrying what harm might come to her and her children."

Andrew Church-Taylor, defending, said: "It is always a situation, open to misinterpretation. She went to the pub in Blackburn knowing he was working there and he believed she was flirting with his friend although she denies that."