A habitual criminal was sentenced to 12.5 years in prison after pleading guilty to several crimes including stealing a car and using someone else's credit card. 

The Washoe County District Attorney's Office says Philip Mayfield will be eligible for parole after five years.

Prosecutors say when police made a traffic stop on Mayfield last November, they saw drugs inside the car and that a subsequent search also turned up multiple stolen credit cards and an ID. 

Then in July, officers came across a stolen car in a casino parking lot and when Mayfield and someone else went inside, they were detained. When questioned, prosecutors say he gave officers another person's ID and said that he was that person, despite Mayfield’s actual ID card also being in the wallet.

Authorities say a records check also revealed there were three active warrants out for his arrest.

Mayfield’s criminal history includes five prior felonies, 18 misdemeanors, and one gross misdemeanor.  

(The Washoe County District Attorney's Office contributed to this report.)