Justin Bieber is a free man.

The 19-year-old Canadian pop rock music singer was released on $2,500 bond following his arrest in Miami on Thursday morning.

He was allegedly drag racing and driving under the influence. He also cursed out cops and resisted arrest, according to police.

Bieber admitted to drinking beer, smoking pot and taking prescription pills, according to reports.

His crew blocked traffic so he could drag race a rented yellow 2013 Lamborghini Gallardo against a red 2009 Ferrari 16M at 4:11 a.m. EST Thursday. The other driver was 19-year-old Sacramento, Calif.-based R&B artist Khalil Amir Sharief, according to police, The Miami-Herald reported. Sharief was also arrested.

Bieber allegedly operated the car at 55 to 60 miles per hour, double the 30-mph speed limit in a residential area, according to police. When he was stopped, he allegedly smelled of alcohol and his eyes were bloodshot.

Both vehicles in the drag race were towed, authorities said.

Bieber appeared in court via a video link in a Miami-Dade County-issued red jail shirt. He pouted. He was solemn, a stark contrast to his mug shot, where he grinned in ear-to-ear style.

He was said to be cooperative upon arriving at the police station. He also said he had been working on music prior to his arrest after being at a club.

His lawyer is Roy Black, husband of "The Real Housewives of Miami" star Lea Black, Fox News reported.

Actor Seth Rogen, known for being a pothead goofball in a variety of his films, took to Twitter to address the arrest, writing: “All jokes aside, Justin Bieber is a piece of s—t.”

Source: Pop Crush