Pop star Justin Bieber has appeared before a Miami court accused of driving under the influence of alcohol, marijuana and prescription drugs.
Police said the Canadian was arrested early on Thursday after racing his sports car on a Miami Beach street.
They said he did not co-operate when pulled over and also charged him with resisting arrest without violence and having an expired driving licence.
The 19-year-old singer was granted bail set at US$2,500.
He had appeared before the judge via video-link from a Miami prison.
He later left the jail escorted by officials and his personal entourage, before climbing on to the roof of a sports utility vehicle to wave to fans.
WTF are you doing Justin!