A man accused of stealing a car from South Florida high school's parking lot decided to show off his twerking skills during his court appearance.

Surveillance video from Miami Edison Senior High School captured Calvin Lloyd Griffith, 30, walking through the building, taking an employee's keys and then stealing the Volkswagen Passat from the parking lot of the school, according to a Miami-Dade Police arrest report.

Griffith was arrested Wednesday on charges of grand theft, burglary and trespassing. He made his first court appearance Thursday before Miami-Dade Judge Catherine Pooler.

"My mom's here!" Griffith exclaimed as he was brought into court.

As he continued to speak, his microphone was turned off. In order to get to the judges attention, Griffith began twerking.

"He's got problems," an unamused Pooler said.

Griffith's mother was in court with a bag of prescription medications for her son. He apparently suffers from mental illness and was off his medications.

Griffith, who was already on probation for similar charges, was given $18,000 bond but was ordered held until his next court appearance Friday.

He was also ordered to stay away from Miami Edison Senior High.

"Do not go back there. You are not a student anymore," Pooler warned.