Rapper DMX, in a plea bargain with prosecutors over a Miami drug case, was sentenced Wednesday to time already served and now awaits extradition to face other charges in Arizona.

The 37-year-old rapper and actor pleaded guilty to attempted marijuana and cocaine possession and was sentenced to time served. His lawyer Bradford Cohen says DMX is still in custody, waiting for Arizona authorities to pick him up on drug and animal cruelty charges there.

Cohen says DMX, whose real name is Earl Simmons, decided to plead guilty when he was denied bail earlier this week due to the outstanding Arizona warrant.

Cohen says if he hadn't pleaded guilty, Simmons would have had to sit in jail in Miami until an October trial date.