CHICAGO (AP) — A central Illinois physician who pleaded guilty last year to charges of illegally dispensing opioids and other prescription medications in exchange for money or sex has been sentenced to 12 years in federal prison.

The U.S. Attorney’s office in Chicago says that Dr. Constantino Perales of the LaSalle County community of Peru was sentenced by U.S. District Judge Amy St. Eve.

READ MORE: Stimulus Check Latest: Is A Fourth Relief Payment Coming?

The 67-year-old Perales admitted he had illegally prescribed oxycodone and Xanax to a patient whom he knew would sell the pills on the black market and then shared the profits with him.

READ MORE: 1 Killed, 6 Wounded In Weekend Shootings Across Chicago

Parales also admitted he illegally dispensed opioids and other controlled substances to three patients he knew were addicted to the drugs in exchange for sex.

MORE NEWS: Father Christopher Ciomek, Pastor Of St. Peter Damian Parish In Bartlett, Removed Amid 30-Year-Old Child Sex Abuse Claims

Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.