A YOB vandalised a police cell after being caught with drugs which were found when he climbed into the back of a police car.
Daniel Gray was arrested in Sunderland city centre for being drunk and disorderly after he got into the back of a patrol car and refused to get out.
Sunderland magistrates were told the 23-year-old became abusive to officers who discovered he had ecstasy tablets hidden on him.
When locked up for the night, he used a key to scratch his initials on a cell door at Gill Bridge Police station.
He pleaded guilty to being drunk and disorderly, attempted possession of a class A drug and criminal damage.
Paul Anderson, prosecuting, said police were called to Derwent Street at about 5.20am on September 14.
He said: “The defendant got into the rear of a police car and would not get out.
“Police physically removed him from the vehicle and told him to leave the area.
“He swore at them and shouted: ‘You don’t know who you are messing with, man. Do you know who I am?’
“As a result, he was arrested for being drunk and disorderly and put back into the vehicle.”
Officers found blue tablets when they searched him and Gray, a labourer, admitted he had bought three tablets for £30 and taken one-and-a-half.
Because they had not been analysed, he could only be charged with attempted possession.
When Gray, from Northlands, Chester-le-Street, was locked in a cell he scrawled ‘GD’ and ‘Chester’ on the door, using a key.
He also said he had been drinking heavily, telling police: “all night – pints, bottles, spirits”.
Gray is already serving a conditional discharge imposed by magistrates in North Durham for being drunk and disorderly, after appearing there in August.
David Bradley, defending, said Gray had become separated from his friends during a night out and initially police were helping him.
“He can only apologise for his behaviour,” he added.
Chairman of the bench Peter De Vere adjourned the case for Probation Service reports.
Gray, who receives benefits and works part-time doing work in gardens, was released on unconditional bail until a hearing on Wednesday.