Instead of receiving probation, a Casper man is heading to jail after pleading guilty to a crime.

Thirty-seven year old James Underwood was sentenced to two and a-half to five years in prison, not just because he pleaded guilty to one count of theft of services, but also because prosecutors say he violated the terms of his bond.

Investigators say in March, Underwood lied about his identity at the Mountain View Regional Hospital in Casper, in order to illegally obtain prescription medication.

A doctor at the hospital, then recognized him, because he had a previous encounter with Underwood at a hospital in Worland.

The original plea deal called for a probation sentence, but prosecutors say Underwood recently went to Idaho, which is a violation of his bond condition, and now he's facing similar theft of services charges in that state as well.