Controversial Canadian pop star Justin Bieber has been released from Miami-Dade County jail after posting $2,500 bail, $1,000 for resisting arrest without violence, $1,000 for driving under the influence and $500 for driving with an expired license.

Justin Bieber Mug Shots Photos Justin Bieber mug shots. PHOTO CR: Miami Police

Khalil Sharieff, who was arrested alongside Bieber for DUI, also appeared before the court and had his bond set at $1,000.

Justin Bieber Released After Posting BailBieber sits on car roof and waves to fans after posting bail. PHOTO CR: Getty Images

Bieber was arrested after police saw him and R&B singer Khalil racing two luxury vehicles down the street at 4:09 a.m., with two other vehicles apparently being used to block off the area.

Both Bieber and Khalil face drag-racing and driving under the influence charges and later released after posting bail.