Blue singer Lee Ryan thanked his fans for their support after he was fined and banned from driving for an incident in April.
The 30-year-old, who is said to be "disgusted" at his actions, admitted causing criminal damage by urinating in a police cell and failing to provide a specimen.
He cited the online abuse he received after leaving the Celebrity Big Brother house as a factor in his behaviour.
A statement read:
Lee respects the court's decision today and takes full responsibility for his actions.
This has been an important lesson for Lee as he works towards a healthier and happier new chapter in his life.
Read: Fellow Blue members support Lee Ryan
Lee Ryan blamed his outburst at a London police station on the abuse he had received after appearing on Celebrity Big Brother.
The singer's defence lawyer Peter Ratliff told the court that appearing on the reality show had been a "mistake" after he was sent "140 pages of Twitter abuse" and death threats.
The Blue member was said to be left "shattered" by the "unpleasant attacks in the media" after he left the Big Brother house.
Ryan was described as a "vulnerable individual who doesn't cope well with pressure", and his defence lawyers said the criticism had prompted a change in his behaviour.
Ryan also cited the effect of antidepressant medication and antibiotics on his state when he was pulled over by police in April.
Read: Lee Ryan handed £3,325 fine and banned from driving
Lee Ryan has been fined £3,325 and banned from driving for two years after admitting failing to provide a specimen and causing £120 of criminal damage.
Read: Lee Ryan urinated on a police cell floor after arrest
Blue singer Lee Ryan caused criminal damage by urinating and vomiting on a police cell floor after his arrest.
The 30-year-old, who appeared in Celebrity Big Brother earlier this year, was detained by police in Ealing at around 5.30am on April 11 after officers saw him driving erratically.
Ryan stank of alcohol and was said to have been "unsteady on his feet" and his "speech was slurred" as he exited his vehicle.
However, Ryan refused to take a breath test and repeatedly swore at officers, before he urinated and was sick all over the floor of the police cell.
When officers returned to the cell, they could see urine was leaking from the door into the hallway.
The star is said to have told officers "I didn't realise there was a toilet here".
Read: Blue's Lee Ryan pleads guilty to two offences
Blue star Lee Ryan has pleaded guilty to failing to provide a specimen and to criminal damage.
He was supported by his fellow band members at Ealing Magistrates' Court in west London.
Blue members Antony Costa, Simon Webbe and Duncan James have arrived at Ealing Magistrates' Court to support fellow band member Lee Ryan.
Ryan, 30, has been charged with failing to provide a specimen and criminal damage.
Blue star Lee Ryan will appear in court today charged with failing to provide a specimen and criminal damage.
The 30-year-old All Rise singer and actor was arrested at 5.30am on April 11 in Ealing, west London, after officers allegedly saw him driving erratically.
The former Celebrity Big Brother contestant will appear on bail at Ealing Magistrates' Court.
The Kent-born star found fame in 2000 with boy band Blue, who went on to sell 3.3 million albums and a million singles in the UK.