A convicted sex offender who was sleeping rough failed to register with police every seven days as he was required to do.

Blackburn magistrates heard Kevin Melody had also failed to turn up for an appointment with the probation service and two court dates during a “chaotic” period in his life.

Melody, 51, of Laithe Street, Burnley, pleaded guilty to two charges of breaching sex offender registration requirements.

He was sentenced to 10 weeks in prison suspended for 12 months.

District Judge Alexandra Preston said Melody had breached the order in May, June and October, had failed to turn up at court twice and missed appointments with the Probation Service.

“I am prepared to suspend the prison sentence because I have heard about the problems of being homeless that you have had this year,” said District Judge Preston.

Julia Draper, prosecuting, said because he was homeless Melody had report to the police every seven days.

“It is a way for the police to monitor that he is still in the area,” said Miss Draper.

“He claimed he went to Nelson police station to sign on but it was closed.

"He then went to Burnley police station but says he was dragged down an alley and beaten up and told to stay out of Burnley.”

Janet Sime, in mitigation, said her client had been struggling with accommodation problems and accepted he had missed signing on and appointments with the probation service.

“Within the last few days he has obtained an address with a friend and hopefully that will make things easier,” said Miss Sime.

“If he has an address he only has to sign on every 12 months.”