Canadian teen pop star Justin Bieber appeared before a judge in a Miami courtroom on Thursday (January 23) following his arrest on a drunken driving charge after he was caught drag racing on a main thoroughfare in a rented yellow Lamborghini, police said.

The judge set bail at $2,500 (£1504).

It breaks down to $1,000 for resisting arrest without violence; $1,000 for driving under the influence; and $500 for driving with an expired license.

Bieber's friend, fellow singer Khalil Sharieff, was arrested on a charge of driving under the influence, according to police.

The R&B singer's bail was set at $1,000.

Police said the teen star initially resisted arrest, cursed at police officers and later told them he had consumed alcohol, marijuana and prescription drugs.

"The officer at that time did place Mr. Bieber under arrest for resisting without violence, for not following his instructions. He felt at that time that Mr. Bieber may have been impaired. He was brought to the Miami Beach police stationwhere a DUI investigation was conducted and it was determined that he was impaired. During the investigation Mr. Bieber made statements that he had consume some alcohol, that he has smoked some marijuana and that he had consumed some prescription medication," Miami Beach Police Chief Raymond Martinez said.

Representatives for the singer were unavailable for comment.

Bieber emerged from jail after posting bail, escorted by correctional officers and his personal entourage, before climbing on the roof of an SUV to wave to fans.

Presented by Adam Justice