A Manhattan doctor could spend the rest of his life in prison after being found guilty of illegally prescribing oxycodone.

Martin Tesher, 82, was convicted on 10 counts.

Prosecutors say he supplied oxycodone and fentanyl to five patients without legitimate medical purposes.

One of his patients died of an overdose in 2016 after visiting Tesher's Upper East Side practice.

Prosecutors say he acted as a "drug dealer with a prescription pad."

The minimum sentence is 20 years behind bars.