(CNN) -- Rapper DMX -- more formally known as Earl Simmons -- has been sentenced to a year in prison after his recent arrest for violating terms of his probation, a court spokesman said Thursday.
Investigators arrested Simmons recently in Maricopa County, Arizona, on one count of violating his probation.
The rapper was allegedly using drugs, including cocaine and OxyContin, the latter without a prescription, CNN affiliate KTVK reported.
He has been sentenced to a year in prison -- but with credit for 113 days served, said Vincent Funari, a spokesman for the Maricopa County Superior Court. He admitted violating terms of his probation, Funari said.
Simmons burst on the rap scene in the late 1990s with songs like "Party Up" and "Get At Me Dog" as his first five albums debuted at number one on the Billboard charts. He is also an actor, and he has appeared in numerous movies including "Belly."
But in recent years, Simmons has had numerous run-ins with the law.
Before his most recent arrest, Maricopa County authorities said he was arrested on five separate occasions after August 2007. That included a May 2008 arrest on drug and animal cruelty charges, when Simmons attempted to barricade himself inside his Cave Creek home, sheriff's deputies said.
Simmons also ran into trouble while in prison, being placed on "lockdown status" and forced to eat only bread and water for "jailhouse infractions." He later threw a food tray in anger at a corrections officer in February 2009, according to the sheriff's office.