Eminem's (search) ex-wife was sentenced Wednesday to at least four months in jail for leaving a court-ordered drug treatment program without permission.

Macomb County Circuit Judge Edward Servitto sentenced Kim Mathers (search) to a year in jail, but she only will have to serve 140 days. Then, she will be released to a drug treatment program in Hazel Park.

If Mathers successfully completes the program, the remainder of her jail time is suspended and she will be placed back on probation, said Russ Marlan, spokesman for the Michigan Department of Corrections (search). If she doesn't complete it, she will have to serve an additional one year in jail and then will be placed back on probation, Marlan said.

Mathers twice has dropped out of a court-ordered drug treatment program. She served some jail time earlier this year after dropping out the first time.

Police arrested Mathers in an Ann Arbor hotel room on June 15 after a caller reported she was staying there. A warrant for Mathers had been issued in April.

Mathers was placed on probation after pleading guilty to charges of possessing 25 grams or less of cocaine and failing to give adequate space to an emergency vehicle. The charges stemmed from a 2003 traffic stop in St. Clair Shores.

Mathers and rapper Eminem, whose legal name is Marshall Bruce Mathers III, have a daughter, Hailie Jade Mathers (search).