Justin Bieber has appeared in court in Miami, following his arrest in the early hours of the morning for suspected drag racing and speeding.

The pop star looked less cheerful than in his mugshot released earlier, as he faced Judge Joseph Farina in the courtroom.

justin bieber

Justin Bieber in court in Miami, where his charges were processed and his bail set

His bail was set at $2,500 in total - $1,000 for the charge of driving under the influence (DUI), $1,000 for the charge of resisting arrest without violence, and a further $500 for possessing an expired driving licence.

His lawyer bent over backwards to thank the presiding Judge for seeing and processing his client so quickly, as that means Bieber can now make his way home for the first time since he was pulled over by two police officers at 4am this morning.

justin bieber

Bieber looked jollier earlier on when his mugshot was first taken by Miami Beach Police

Bieber's friend, rapper Khalil, who was arrested alongside him, also appeared in court, with the same lawyer acting for him, pending an enquiry into any potential conflict of interest. His bail was posted at $1,000 for his DUI charge.

Bieber was arrested this morning, in his yellow Lambourghini on the way back from a nightclub in downtown Miami. Full details here, with pictures, video and even the arrest report, helpfully posted on Twitter by Miami Beach Police...

LIKE US ON FACEBOOK | FOLLOW US ON TWITTER

Loading Slideshow...
  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber (L) and mother Pattie Mallette attend the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Red Carpet

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber (L) and director Jon M. Chu arrive at the premiere Of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Red Carpet

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere Of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Red Carpet

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber (watch detail) arrives at the premiere Of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Red Carpet

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber (shoe detail) arrives at the premiere Of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber attends the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Red Carpet

    LOS ANGELES, CA - DECEMBER 18: (L-R) Diane Dale, singer/producer Justin Bieber, Pattie Mallette and Bruce Dale arrive at the premiere Of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: (L-R) Producer Scooter Braun, singer/producer Justin Bieber and producer Usher attend the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: (L-R) Producer Scooter Braun, singer/producer Justin Bieber and producer Usher attend the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber (L) and producer Usher attend the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber (L) and producer Usher attend the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber attends the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber (L) and mother Pattie Mallette attend the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Singer/producer Justin Bieber arrives at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: (L-R) Diane Dale, singer/producer Justin Bieber, Pattie Mallette and Bruce Dale arrive at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: (L-R) Diane Dale, singer/producer Justin Bieber, Pattie Mallette and Bruce Dale arrive at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: (L-R) Diane Dale, singer/producer Justin Bieber, Pattie Mallette and Bruce Dale arrive at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Frazer Harrison/Getty Images)

  • US-ENTERTAINMENT-PREMIERE-JUSTIN BIEBERS BELIEVE

    Singer Justin Bieber (R) and mother Pattie Mallette attend the world premiere of 'Justin Bieber's BELIEVE,' December 18, 2013 at the Regal Cinemas at LA Live in Los Angeles, California. The film opens nationwide on Christmas Day. AFP PHOTO / Robyn Beck (Photo credit should read ROBYN BECK/AFP/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Justin Bieber attends the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Justin Bieber attends the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Justin Bieber attends the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • US-ENTERTAINMENT-PREMIERE-JUSTIN BIEBERS BELIEVE

    Singer Justin Bieber (R) and mother Pattie Mallette attend the world premiere of 'Justin Bieber's BELIEVE,' December 18, 2013 at the Regal Cinemas at LA Live in Los Angeles, California. The film opens nationwide on Christmas Day. AFP PHOTO / Robyn Beck (Photo credit should read ROBYN BECK/AFP/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Justin Bieber attends the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Justin Bieber attends the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Fans await the arrival of Justin Bieber at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)

  • Premiere Of Open Road Films' "Justin Bieber's Believe" - Arrivals

    LOS ANGELES, CA - DECEMBER 18: Fans await the arrival of Justin Bieber at the premiere of Open Road Films' 'Justin Bieber's Believe' at Regal Cinemas L.A. Live on December 18, 2013 in Los Angeles, California. (Photo by Jason Kempin/Getty Images)