A 27-year-old man has been sentenced to up to five years in prison for taking alcohol to a Harlan party where a teenager drank it and later died.