Updated

Singer Justin Bieber left a Miami-county jail Thursday following his arrest earlier in the day in Miami Beach on charges including driving under the influence and resisting arrest.

At about 1 p.m. a troubled looking Bieber, wearing a bright red jail shirt, appeared via a TV camera in front of a judge on Thursday afternoon to hear the charges being brought against him in Miami, Fla.

Police said 19-year-old Bieber was arrested Thursday just after 4 a.m. on Pine Tree Drive and 26th Street. According to police, he was driving a yellow Lamborghini while under the influence of marijuana, prescription pills and alcohol.

The teen sensation was released on $2,500 bond.

Officers saw two cars racing at 4:09 a.m. Thursday, with two vehicles apparently used to block the area off, Miami Dade Police Chief Raymond A. Martinez said during a press conference. He says the second car was a red Ferrari, and that driver, R&B singer Khalil Sharief, was also arrested. Both cars were towed.

More On This...

The star's mug shot was released, showing him smiling for camera.

In court, however, Bieber looked much more solemn, as he listened to the judge read his charges. The singer will be represented by prominent Miami attorney Roy Black, who is the husband of "Real Housewives of Miami Star" Lea Black.

PHOTOS: Click here for more celebrity mug shots

The pop star was stopped by police because his car was going nearly double the speed limit in the residential area, and when a police officer approached the singer the officer "smelled a strong odor of alcoholic beverage" coming from the Biebs' car, Martinez told reporters. According to the arrest report, Bieber's eyes were bloodshot and he had "a stuper [sic] look on his face."

The singer made statements admitting to drinking beer and smoking marijuana and taking prescription pills, and he is also charged with non-violently resisting arrest, Martinez said,

"At first he was a little belligerent.. using some choice words, questioning why he had been stopped," Martinez explained. Once at the station, Bieber was cooperative, but he also had an expired driver's license from Georgia, Martinez added.

Bieber told police he had been recording music at a studio prior to his arrest, his arrest report states.

The street where police say Bieber was racing is a palm-tree-lined residential area in mid-Miami Beach. The star was traveling approximately 55 to 60 miles per hour, Martinez said. The speed limit on Pine Tree Drive is 30 miles per hour.

Under Florida law, people under the age of 21 are considered driving under the influence if they have a blood-alcohol content of .02 percent or more - a level he could reach with one drink. For 21 and over, it is .08 percent.

For a first DUI offense, there is no minimum sentence and a maximum of six months, a fine of $250 to $500, and 50 hours of community service. For anyone under 21, there is an automatic six-month license suspension.

First offense of a drag-racing offense nets a sentence of up to six months, a fine of $500 to $1,000, and a one-year license suspension.

The arrest is just the latest in a string of scandals linked to the Biebs. Last week, a dozen detectives raided the pop star's California home, searching for evidence that would link him to an egging incident, which caused approximately $20,000 in damages to a neighbor's home.

During the search, one of the singer's friends, Xavier Smith, also known as Lil Za, was arrested for narcotics possession.

Bieber then headed to Miami, where he reportedly dropped $75,000 in $1 bills at a strip club.

The news of Bieber's arrest from speedy driving comes just a few months after prominent "Fast & Furious" actor Paul Walker was killed in a fiery car crash. Walker was with his friend Roger Rodas, traveling in a car going more than 100 miles per hour.

A rep for Bieber did not immediately return FOX411's request for comment. A rep for his mother, Pattie Mallette, declined to comment.

The Associated Press contributed to this report.