A man smeared a profanity on the wall of a custody cell using his own faeces.

Eric Murray also spat in the face of a detention officer through the hole in his cell door at Bournemouth Police Station.

Bournemouth Crown Court heard that “fortunately” the spittle landed on the officer's facemask.

Prosecuting, Annabel Hazlitt told the court Murray had been arrested following an incident in Poole on March 6.

Ms Hazlitt said the defendant went to his then partner’s address in a drunk state and she refused to let him into the property.

“Mr Murray threw a roof tile through her window,” the barrister said.

The roof tile smashed the double-glazed window.

Bournemouth Echo: The window was smashed by Eric MurrayThe window was smashed by Eric Murray (Image: CPS)

Police were called and Murray was abusive towards them.

He was taken to Bournemouth Police Station and booked into custody.

“On March 7, he smeared his faeces across the cell, including writing the words **** you,” Ms Hazlitt said.

The court heard that a detention officer later bent down to speak with the defendant through the wicket in the cell door.

Murray gave a no comment interview to police, the prosecutor said the window at the property had to be replaced and the custody cell required a deep clean, which cost £130.

The 37-year-old had 11 convictions for 18 offences, with his most recent prior offending dating back to 2015.

Murray, who appeared via video link from HMP Winchester, pleaded guilty to two counts of criminal damage and one charge of assaulting an emergency worker by beating.

Rob Griffiths, mitigating, said: “He was in a state of depression and was drinking quite heavily.”

Mr Griffiths outlined to the court the personal trauma which led to the defendant being in this state.

“He really had just gone off the rails,” Mr Griffiths said.

The barrister said Murray, of Arne Avenue, Poole, had worked hard while remanded in custody, including completing courses to do with relationships.

Recorder Hannah Willcocks KC jailed the defendant for 10 weeks at the hearing on Friday, July 28.

She said he would be entitled to immediate release due to the time he had spent in prison on remand.

The judge did not make an order for costs or compensation due to the defendant having no means to pay as he had been in custody for the past 79 days.