The man who sold deadly drugs to a Thorntown man received the maximum allowable prison sentence last Thursday.